mirror of https://github.com/aria2/aria2
2008-04-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Added comment * src/RequestGroup.cc (createNextCommand)pull/1/head
parent
c3151ba188
commit
8ea2f386cb
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue