[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [serf-dev] Re: [PATCH] Serf crash on spurious data between responses

From: Philip Martin <philip_at_codematters.co.uk>
Date: Mon, 12 Jan 2015 17:22:52 +0000

Philip Martin <philip.martin_at_wandisco.com> writes:

> Lieven Govaerts <lgo_at_mobsol.be> writes:
>
>> Is there a reason you specifically mention pipelined here? The first
>> response has been handled so it's just synchronous communication.
>
> The point is that the client reads data from the server before sending
> the second response. If the client were to close/reopen the connection
> that data would get dropped, or at least that is what appears to happen
> as I don't see the bug if the server sends "Connection: close" with the
> first response.

My use of "pipelining" was incorrect here, what I mean is that both
requests have to be sent on the same connection. I suppose it might be
possible to trigger the bug with a single request if the server sends
spurious data before receiving the request, but it might be tricky to
get the timing right.

-- 
Philip
Received on 2015-01-12 18:23:52 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.