Answer with HTTP/1.0 until 1.1 is really implemented#12
Answer with HTTP/1.0 until 1.1 is really implemented#12nicolas-grekas wants to merge 1 commit intoreactphp:masterfrom nicolas-grekas:http-1.0
Conversation
|
Just as a side note, my use case is receiving an HTTP query with |
|
What is the status of this PR? Does this really fix any bugs? If so, can we add some test cases to confirm this? FWIW, chunked transfer encoding is currently being implemented by @WyriHaximus here: reactphp/http-client#58 |
|
Thanks for filing this PR @nicolas-grekas! 👍 I think this addresses a real issue, but I'd rather address the This is kind of an old PR and it contains plenty of merge conflicts now. Unfortunately, this hasn't been updated in years, so I'll close this due to a lack of feedback. If you think this is still worth addressing, please update this PR or file a new one and we can reconsider this 👍 |
|
For the reference: Persistent connections will be addressed via #39 (eventually), but I'll look into explicitly denying persistent connection support for HTTP/1.1 clients in the meantime 👍 |
|
The issues you were seeing should now be addressed via #128. I hope this helps 👍 |
|
not sure about that: the client sends chunked encoding in my case. |
|
Incoming chunked transfer encoding will now be decoded via #116 |
Currently, the HTTP server answers with
1.1but does not handle persistent connexions.Because of this, well behaving clients, expecting proper handling of the advertised 1.1 semantic do not work:
the incoming Request object does never trigger the
endevent.This of course is because an HTTP/1.1 client never closes the socket connexion.