diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:52:10 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:52:10 +0000 |
commit | a7fb252c4cd4159165d9e734c92428750c1ac137 (patch) | |
tree | eada6b53ebfacdea9a2492379c3c9a3b069ce125 /methods/http.cc | |
parent | 3000cceaa0982678393fa37e3d5544678c9df9b1 (diff) |
Fixed pipelining and failures
Author: jgg
Date: 1998-12-11 01:45:36 GMT
Fixed pipelining and failures
Diffstat (limited to 'methods/http.cc')
-rw-r--r-- | methods/http.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/methods/http.cc b/methods/http.cc index 5fbec8de2..c906877a3 100644 --- a/methods/http.cc +++ b/methods/http.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: http.cc,v 1.14 1998/12/11 01:07:31 jgg Exp $ +// $Id: http.cc,v 1.15 1998/12/11 01:45:36 jgg Exp $ /* ###################################################################### HTTP Aquire Method - This is the HTTP aquire method for APT. @@ -1010,6 +1010,10 @@ int HttpMethod::Loop() Server = new ServerState(Queue->Uri,this); } + // Reset the pipeline + if (Server->ServerFd == -1) + QueueBack = Queue; + // Connnect to the host if (Server->Open() == false) { |