diff options
Diffstat (limited to 'src/HttpServerCommand.cc')
| -rw-r--r-- | src/HttpServerCommand.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/HttpServerCommand.cc b/src/HttpServerCommand.cc index e87b6e9e..c367e2df 100644 --- a/src/HttpServerCommand.cc +++ b/src/HttpServerCommand.cc @@ -178,6 +178,7 @@ bool HttpServerCommand::execute() !httpServer_->getSocketRecvBuffer()->bufferEmpty()) { timeoutTimer_ = global::wallclock(); +#ifdef ENABLE_SSL if(httpServer_->getSecure()) { // tlsAccept() just returns true if handshake has already // finished. @@ -187,6 +188,7 @@ bool HttpServerCommand::execute() return false; } } +#endif // ENABLE_SSL SharedHandle<HttpHeader> header; header = httpServer_->receiveRequest(); |
