[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#64530: apt: The http method does not work correctly for HTTP/1.0 proxies



You have chosen not to reply to the most important part of my e-mail.

I said:

: It seems to me that with the pipelining enabled there is a race
: condition.  The program thinks that the connection is still open, but
: when it goes to read the data from it it has closed.  This causes the
: read errors that I see.  I can't find the location in the code that
: the decision is made if the connection will contain another set of
: data (HTTP/1.1) or if it won't (HTTP/1.0).

This is the root cause of the problem with apt, I would like to see an
answer.  If there is code that I can put debugging statements I will,
but I can't find the code that decides if another reply is expected on
the same connection.

If you test the connection is open rather than use the reply headers
then you may think that you can do persistent connections when it is
not possible.

-- 
Andrew.
----------------------------------------------------------------------
Andrew M. Bishop                             amb@gedanken.demon.co.uk
                                      http://www.gedanken.demon.co.uk/



Reply to: