summaryrefslogtreecommitdiff
path: root/src/HttpSkipResponseCommand.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-10-22 12:20:48 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-10-22 12:20:48 +0000
commitd538c9ae97e2dad3c442bc21e1c74026bad1183f (patch)
tree41b78874a30943d50f1db49e5b86d0dd6f88a5c1 /src/HttpSkipResponseCommand.cc
parente15d104d8853b305806939e684663d9241ecd317 (diff)
2008-10-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Fixed the bug that causes time out when redirection occurs with content-length 0. * src/HttpResponseCommand.cc * src/HttpSkipResponseCommand.cc * src/HttpSkipResponseCommand.h
Diffstat (limited to 'src/HttpSkipResponseCommand.cc')
-rw-r--r--src/HttpSkipResponseCommand.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/HttpSkipResponseCommand.cc b/src/HttpSkipResponseCommand.cc
index 5d63a9c0..313eed7d 100644
--- a/src/HttpSkipResponseCommand.cc
+++ b/src/HttpSkipResponseCommand.cc
@@ -157,4 +157,10 @@ bool HttpSkipResponseCommand::processResponse()
}
}
+void HttpSkipResponseCommand::disableSocketCheck()
+{
+ disableReadCheckSocket();
+ disableWriteCheckSocket();
+}
+
} // namespace aria2