mirror of https://github.com/aria2/aria2
2006-05-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
* src/SocketCore.cc (isReadable): Added secure to the condition. * src/HttpConnection.cc (receiveResponse): Fixed a bug that causes no response header exception. * src/Peer.h (getFastSet): Fixed the return value type.pull/1/head
parent
d018b3a609
commit
6497ed63d4
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
2006-05-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||
|
||||
* src/SocketCore.cc
|
||||
(isReadable): Added secure to the condition.
|
||||
* src/HttpConnection.cc
|
||||
(receiveResponse): Fixed a bug that causes no response header
|
||||
exception.
|
||||
* src/Peer.h
|
||||
(getFastSet): Fixed the return value type.
|
||||
|
||||
2006-05-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||
|
||||
To remove a wait from download loop:
|
||||
|
|
4
TODO
4
TODO
|
@ -16,4 +16,6 @@
|
|||
* Add announce-list support
|
||||
* Refacturing HttpConnection and FtpConnection
|
||||
* HTTP/FTP downloading regression test
|
||||
* Fast extension test
|
||||
* Fast extension test
|
||||
* send stop to the tracker when download finishes or ctrl-c enters.
|
||||
* fix flooding detection
|
|
@ -141,6 +141,7 @@ int HttpConnection::receiveResponse(HttpHeader& headers) {
|
|||
if((eohIndex = findEndOfHeader(headerBuf, "\r\n\r\n", hlenTemp)) == -1 &&
|
||||
(eohIndex = findEndOfHeader(headerBuf, "\n\n", hlenTemp)) == -1) {
|
||||
socket->readData(headerBuf+headerBufLength, size);
|
||||
headerBufLength += size;
|
||||
} else {
|
||||
if(eohIndex[headerBuf] == '\n') {
|
||||
// for crapping non-standard HTTP server
|
||||
|
|
|
@ -130,7 +130,7 @@ public:
|
|||
bool isFastExtensionEnabled() const { return fastExtensionEnabled; }
|
||||
|
||||
void addFastSetIndex(int index);
|
||||
const Integers getFastSet() const { return fastSet; }
|
||||
const Integers& getFastSet() const { return fastSet; }
|
||||
bool isInFastSet(int index) const;
|
||||
int countFastSet() const { return fastSet.size(); }
|
||||
|
||||
|
|
|
@ -235,7 +235,7 @@ bool SocketCore::isWritable(int timeout) const {
|
|||
|
||||
bool SocketCore::isReadable(int timeout) const {
|
||||
#ifdef HAVE_LIBGNUTLS
|
||||
if(peekBufLength > 0) {
|
||||
if(secure && peekBufLength > 0) {
|
||||
return true;
|
||||
}
|
||||
#endif // HAVE_LIBGNUTLS
|
||||
|
|
Loading…
Reference in New Issue