summaryrefslogtreecommitdiff
path: root/src/SocketCore.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2006-05-19 15:49:32 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2006-05-19 15:49:32 +0000
commit6497ed63d42042a249ea0233a3ef3b97b75f3db3 (patch)
treeaaeca6b88dbfb9327f7e817e7cba8fbdeb206efb /src/SocketCore.cc
parentd018b3a609a9e6eb5f2adb550b39452254daa8c6 (diff)
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.
Diffstat (limited to 'src/SocketCore.cc')
-rw-r--r--src/SocketCore.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SocketCore.cc b/src/SocketCore.cc
index 2a8b54eb..160164f9 100644
--- a/src/SocketCore.cc
+++ b/src/SocketCore.cc
@@ -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