浏览代码

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

	Added comment
	* src/RequestGroup.cc (createNextCommand)
Tatsuhiro Tsujikawa 17 年之前
父节点
当前提交
8ea2f386cb
共有 2 个文件被更改,包括 9 次插入0 次删除
  1. 5 0
      ChangeLog
  2. 4 0
      src/RequestGroup.cc

+ 5 - 0
ChangeLog

@@ -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

+ 4 - 0
src/RequestGroup.cc

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