Skip to content

webtransport: fix upgrade error handling#3412

Closed
intojhanurag wants to merge 1 commit intolibp2p:masterfrom
intojhanurag:fix/webtransport-better-status
Closed

webtransport: fix upgrade error handling#3412
intojhanurag wants to merge 1 commit intolibp2p:masterfrom
intojhanurag:fix/webtransport-better-status

Conversation

@intojhanurag
Copy link

Replaced the undefined webtransport.HandshakeError with a simple error check.
Returns 400 for failed upgrades instead of hardcoded 500 and adds debug logging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant