mirror of
https://github.com/aria2/aria2.git
synced 2026-04-02 18:59:20 +00:00
2008-04-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Added comment * src/RequestGroup.cc (createNextCommand)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user