Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable HTTP pipelining for requests with body #43

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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