mirror of https://github.com/aria2/aria2
2010-07-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Make sure that all decoders are finished to pool socket * src/HttpDownloadCommand.ccpull/1/head
parent
9d5f19d5b1
commit
3886919101
|
@ -1,3 +1,8 @@
|
||||||
|
2010-07-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||||
|
|
||||||
|
Make sure that all decoders are finished to pool socket
|
||||||
|
* src/HttpDownloadCommand.cc
|
||||||
|
|
||||||
2010-07-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
2010-07-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||||
|
|
||||||
Fixed indent of --conditional-get option.
|
Fixed indent of --conditional-get option.
|
||||||
|
|
|
@ -88,10 +88,10 @@ bool HttpDownloadCommand::prepareForNextSegment() {
|
||||||
if(getRequest()->isPipeliningEnabled() ||
|
if(getRequest()->isPipeliningEnabled() ||
|
||||||
(getRequest()->isKeepAliveEnabled() &&
|
(getRequest()->isKeepAliveEnabled() &&
|
||||||
(
|
(
|
||||||
// TODO make sure that all decoder is finished to pool socket
|
// Make sure that all decoders are finished to pool socket
|
||||||
((!getTransferEncodingDecoder().isNull() &&
|
((getTransferEncodingDecoder().isNull() ||
|
||||||
getTransferEncodingDecoder()->finished()) ||
|
getTransferEncodingDecoder()->finished()) &&
|
||||||
(!getContentEncodingDecoder().isNull() &&
|
(getContentEncodingDecoder().isNull() ||
|
||||||
getContentEncodingDecoder()->finished())) ||
|
getContentEncodingDecoder()->finished())) ||
|
||||||
getRequestEndOffset() ==
|
getRequestEndOffset() ==
|
||||||
getFileEntry()->gtoloff(getSegments().front()->getPositionToWrite())
|
getFileEntry()->gtoloff(getSegments().front()->getPositionToWrite())
|
||||||
|
|
Loading…
Reference in New Issue