summaryrefslogtreecommitdiff
path: root/methods/http.cc
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2007-07-10 16:12:25 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2007-07-10 16:12:25 -0300
commit946392c230d5fbf31b7456576c0ee423e25bb58f (patch)
tree5c8f2732d65b3b5c94943889ea84ddc4dd644343 /methods/http.cc
parentae58a98599e912eba6b7d0ece21aaa2d979941df (diff)
Simplified HttpMethod::Fetch on http.cc removing Tail variable;
Diffstat (limited to 'methods/http.cc')
-rw-r--r--methods/http.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/methods/http.cc b/methods/http.cc
index 3c2d8a36f..506e66fae 100644
--- a/methods/http.cc
+++ b/methods/http.cc
@@ -996,7 +996,6 @@ bool HttpMethod::Fetch(FetchItem *)
// Queue the requests
int Depth = -1;
- bool Tail = false;
for (FetchItem *I = Queue; I != 0 && Depth < (signed)PipelineDepth;
I = I->Next, Depth++)
{
@@ -1008,8 +1007,6 @@ bool HttpMethod::Fetch(FetchItem *)
if (Server->Comp(I->Uri) == false)
break;
if (QueueBack == I)
- Tail = true;
- if (Tail == true)
{
QueueBack = I->Next;
SendReq(I,Server->Out);
@@ -1071,7 +1068,6 @@ int HttpMethod::Loop()
delete Server;
Server = new ServerState(Queue->Uri,this);
}
-
/* If the server has explicitly said this is the last connection
then we pre-emptively shut down the pipeline and tear down
the connection. This will speed up HTTP/1.0 servers a tad