2008-04-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>

Added comment
	* src/RequestGroup.cc (createNextCommand)
pull/1/head
Tatsuhiro Tsujikawa 2008-04-25 16:26:40 +00:00
parent c3151ba188
commit 8ea2f386cb
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2008-04-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Added comment
* src/RequestGroup.cc (createNextCommand)
2008-04-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Capitalized METHOD_GET and METHOD_HEAD

View File

@ -466,6 +466,10 @@ Commands RequestGroup::createNextCommand(DownloadEngine* e, unsigned int numComm
}
if(req->getProtocol() == "http" || req->getProtocol() == "https") {
// we set supportsPersistentConnection true here. When HTTP response
// is returned and it turns out that the remote server doesn't
// support persistent connection, then this value will be set to
// false.
req->supportsPersistentConnection(true);
}