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>
|
||||
|
||||
Fixed indent of --conditional-get option.
|
||||
|
|
|
@ -88,10 +88,10 @@ bool HttpDownloadCommand::prepareForNextSegment() {
|
|||
if(getRequest()->isPipeliningEnabled() ||
|
||||
(getRequest()->isKeepAliveEnabled() &&
|
||||
(
|
||||
// TODO make sure that all decoder is finished to pool socket
|
||||
((!getTransferEncodingDecoder().isNull() &&
|
||||
getTransferEncodingDecoder()->finished()) ||
|
||||
(!getContentEncodingDecoder().isNull() &&
|
||||
// Make sure that all decoders are finished to pool socket
|
||||
((getTransferEncodingDecoder().isNull() ||
|
||||
getTransferEncodingDecoder()->finished()) &&
|
||||
(getContentEncodingDecoder().isNull() ||
|
||||
getContentEncodingDecoder()->finished())) ||
|
||||
getRequestEndOffset() ==
|
||||
getFileEntry()->gtoloff(getSegments().front()->getPositionToWrite())
|
||||
|
|
Loading…
Reference in New Issue