|
@@ -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);
|
|
|
}
|
|
|
|