> But if the server are different, how does polipo control the order of
> replies to the client?

For each client connection, Polipo maintains a list of requests queued by
that client in the field connection->request.  In httpClientNoticeRequest,
it says

    int serveNow = (request == connection->request);

and the data is only served if serveNow is true.  If not, it will be kept
in the in-memory cache until the request reaches the head of the queue.

                                        Juliusz

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Polipo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/polipo-users

Reply via email to