You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is used for Icecast streaming, where the client just opens the connection, sends the header, then just sends data until the connection is closed. You can reproduce the problem with curl using curl -X PUT http://localhost:5000/stream -d test -H 'Content-Length:'.
You'll get a message [2019-07-05T20:50:55Z DEBUG hyper::proto::h1::conn] parse error (connection closed before message completed) with 4 bytes written to the logger as hyper discards the request body.
I don't know if this is something hyper should support. Obviously if the client can't signal to the server that it is done sending data then the server can't send a response, or it needs to send the response before it has received the entire request body.
The text was updated successfully, but these errors were encountered:
This is used for Icecast streaming, where the client just opens the connection, sends the header, then just sends data until the connection is closed. You can reproduce the problem with curl using
curl -X PUT http://localhost:5000/stream -d test -H 'Content-Length:'
.You'll get a message
[2019-07-05T20:50:55Z DEBUG hyper::proto::h1::conn] parse error (connection closed before message completed) with 4 bytes
written to the logger as hyper discards the request body.I don't know if this is something hyper should support. Obviously if the client can't signal to the server that it is done sending data then the server can't send a response, or it needs to send the response before it has received the entire request body.
The text was updated successfully, but these errors were encountered: