LocalProtocolError
when handshake_complete is made to False
#1608
Unanswered
iudeen
asked this question in
Potential Issue
Replies: 1 comment
-
I checked implementation on a higher level in Hypercorn's implementation. H1 request or response are not sent, it's only I'll do a line by line debug and try to replicate similar scenario soon. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I simulate
handshake_complete
to be false in Websockets implementation (using wsproto), it runs intoLocalProtocolError
and theInternalServerError
message sent by Uvicorn is not sent at all.I dug a little into it and found this piece of code:
While wsproto expects type
Event
,h11.Response
is being sent.I am not sure if this is an issue. I noticed this strange behavior when I was testing a few things. Please feel free to close if its not relevant.
Beta Was this translation helpful? Give feedback.
All reactions