summaryrefslogtreecommitdiff
path: root/src/HttpRequestCommand.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2007-08-18 10:26:20 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2007-08-18 10:26:20 +0000
commit834625364f0a7116bb903e7eb6e65ae7e97558fd (patch)
tree8a8ebd55e461d2b34cf840abd91a3365a0033ae5 /src/HttpRequestCommand.cc
parent657a40935e73bcb8a71e98b5716d31dd30aa458b (diff)
Fixed MinGW non-blocking bug.
* src/SocketCore.cc * src/HttpRequestCommand.cc Added src/timegm,{h,c}
Diffstat (limited to 'src/HttpRequestCommand.cc')
-rw-r--r--src/HttpRequestCommand.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/HttpRequestCommand.cc b/src/HttpRequestCommand.cc
index cb98600d..b708dfd0 100644
--- a/src/HttpRequestCommand.cc
+++ b/src/HttpRequestCommand.cc
@@ -52,10 +52,6 @@ HttpRequestCommand::~HttpRequestCommand() {}
bool HttpRequestCommand::executeInternal() {
socket->setBlockingMode();
if(req->getProtocol() == "https") {
-#ifdef __MINGW32__
- // it only works in non-blocking mode
- socket->setNonBlockingMode();
-#endif // __MINGW32__
socket->initiateSecureConnection();
}
if(!e->option->getAsBool(PREF_HTTP_KEEP_ALIVE)) {