Merge pull request #1091 from ProgrammerIn-wonderland/main
Docker Image CI / build-and-push-image (push) Waiting to run
Maintain Release Merge PR / update-release-pr (push) Waiting to run
release-please / release-please (push) Waiting to run
test / test (18.x) (push) Waiting to run
test / test (20.x) (push) Waiting to run
test / test (22.x) (push) Waiting to run

add 0x01 and 0x03 wisp messages
This commit is contained in:
Nariman Jelveh
2025-01-14 21:03:21 -08:00
committed by GitHub
@@ -15,7 +15,9 @@ export const UDP = 0x02;
export const textde = new TextDecoder();
const texten = new TextEncoder();
export const errors = {
0x41: "Stream creation failed due to invalid information. This could be sent if the destination was a reserved address or the port is invalid."
0x01: "Reason unspecified or unknown. Returning a more specific reason should be preferred."
,0x03: "Unexpected stream closure due to a network error."
,0x41: "Stream creation failed due to invalid information. This could be sent if the destination was a reserved address or the port is invalid."
,0x42: "Stream creation failed due to an unreachable destination host. This could be sent if the destination is an domain which does not resolve to anything."
,0x43: "Stream creation timed out due to the destination server not responding."
,0x44: "Stream creation failed due to the destination server refusing the connection."