-
Notifications
You must be signed in to change notification settings - Fork 685
rpc breaks on Transfer-Encoding: chunked
#2320
Comments
related: uNetworking/uWebSockets.js#669 |
I'm able to reproduce. I'm curious what your use case is, do you mind sharing? |
No legitimate use case here; I'm using an http/1.1 client library which uselessly opts into using Feel free to close. |
Interesting. Ganache should support it so we'll leave it open, thanks! |
Related issue: the http server is emitting an invalid HTTP/1.1 status line, eg.:
The RFC is quite clear, however (https://www.w3.org/Protocols/rfc2616/rfc2616-sec6.html#sec6.1):
The Reason-Phrase is allowed to be an empty string, but the separating space is not optional. I'm unsure whether to open another issue for this, or if https://github.com/uNetworking/uWebSockets.js is where the buck stops. |
We should probably just send back the reason string ourselves, though uWS.js might appreciate an Issue on their side too. |
Closing as won't fix because it doesn't look like uNetworking/uWebSockets.js#669 will get fixed. |
I'm planning on fixing this. Did not know anyone wanted it fixed. |
Fixed, will be part of next release |
trufflesuite/ganache:v7.0.2
The text was updated successfully, but these errors were encountered: