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
{{ message }}
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.
This is actually a question; asked on the libevent mailing list, but I was redirected here, and seems there is no separate list or forum for libevhtp. Might turn out to be a feature request...
Consider the following scenario:
Client side uses http pipelining and sends requests before waiting for the previous one to fully complete
Server side responds, but sometimes cannot respond right away, so I pause the connection for a while
From time to time, on the server side, while the connection has been paused and serving a previous request, I'd like to check if a new request has come over the wire; if not, I'd like to continue the paused state; if yes, I'd like to unpause, send a response and have the listener and parser accept the incoming request and go on about its business.
Is there a way to peek at the (paused) input pipe while not ruining the paused state's internal state (pardon the tautology)?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This is actually a question; asked on the libevent mailing list, but I was redirected here, and seems there is no separate list or forum for libevhtp. Might turn out to be a feature request...
Consider the following scenario:
From time to time, on the server side, while the connection has been paused and serving a previous request, I'd like to check if a new request has come over the wire; if not, I'd like to continue the paused state; if yes, I'd like to unpause, send a response and have the listener and parser accept the incoming request and go on about its business.
Is there a way to peek at the (paused) input pipe while not ruining the paused state's internal state (pardon the tautology)?
The text was updated successfully, but these errors were encountered: