Skip to content

Enable HTTP pipelining for requests with body#43

Open
pmakholm wants to merge 1 commit intomiyagawa:masterfrom
One-com:pipelining
Open

Enable HTTP pipelining for requests with body#43
pmakholm wants to merge 1 commit intomiyagawa:masterfrom
One-com:pipelining

Conversation

@pmakholm
Copy link
Contributor

If a client uses HTTP Pipelining for request containing a HTTP body and sysread() returns data for multiple requests, some request might be lost.

This patch fixes this by storing left over content in $self->{client}->{inputbuf} and adds some basic tests.

@pmakholm
Copy link
Contributor Author

pmakholm commented Jun 7, 2012

Any chance of this getting merged?

@miyagawa
Copy link
Owner

To be honest I can't figure out whether this is a right patch or not - the code that does pipelining is stolen from Catalyst's HTTP server equivalent...

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.

2 participants