summaryrefslogtreecommitdiff
path: root/src/HttpRequestCommand.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2006-02-17 19:04:22 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2006-02-17 19:04:22 +0000
commit8a70369dcf39adeb3fa6f3f4e0aaaa764ed6fc0d (patch)
tree2f081a4ab095afe84b454c95ded7a499171ef646 /src/HttpRequestCommand.cc
parent2c732211f45b4caea3f569971905f176887b4a4a (diff)
Make Socket::initiateSecureConnection an empty method when HAVE_LIBSSL
is undefined
Diffstat (limited to 'src/HttpRequestCommand.cc')
-rw-r--r--src/HttpRequestCommand.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/HttpRequestCommand.cc b/src/HttpRequestCommand.cc
index 078b11f1..caa8413a 100644
--- a/src/HttpRequestCommand.cc
+++ b/src/HttpRequestCommand.cc
@@ -36,12 +36,9 @@ HttpRequestCommand::~HttpRequestCommand() {}
bool HttpRequestCommand::executeInternal(Segment seg) {
socket->setNonBlockingMode();
-#ifdef HAVE_LIBSSL
- // for SSL
if(req->getProtocol() == "https") {
socket->initiateSecureConnection();
}
-#endif // HAVE_LIBSSL
HttpConnection httpConnection(cuid, socket, e->option, e->logger);
// set seg to request in order to remember the request range
req->seg = seg;