瀏覽代碼

Merge branch 'candidate-6.4.30'

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 6 年之前
父節點
當前提交
521c7ae1ec
共有 1 個文件被更改,包括 5 次插入5 次删除
  1. 5 5
      esp/bindings/http/platform/httpprot.cpp

+ 5 - 5
esp/bindings/http/platform/httpprot.cpp

@@ -359,7 +359,7 @@ bool CSecureHttpProtocol::notifySelected(ISocket *sock,unsigned selected, IPersi
                         CHttpThread *workthread = new CHttpThread(accepted.getLink(), apport, CEspProtocol::getViewConfig(), true, m_ssctx.get(), persistentHandler);
                         workthread->setMaxRequestEntityLength(getMaxRequestEntityLength());
                         workthread->start();
-                        DBGLOG("Request processing thread started.");
+                        ESPLOG(LogMax, "Request processing thread started.");
                         workthread->Release();
                     }
                 }
@@ -437,16 +437,16 @@ bool CHttpThread::onRequest()
     Owned<ISecureSocket> secure_sock;
     if(m_is_ssl && m_ssctx && m_persistentHandler == nullptr)
     {
-        DBGLOG("Creating secure socket");
+        ESPLOG(LogMax, "Creating secure socket");
         secure_sock.setown(m_ssctx->createSecureSocket(m_socket.getLink(), getEspLogLevel()));
         int res = 0;
         try
         {
-            DBGLOG("Accepting from secure socket");
+            ESPLOG(LogMax, "Accepting from secure socket");
             res = secure_sock->secure_accept();
             if(res < 0)
             {
-                DBGLOG("Error accepting from secure socket");
+                ESPLOG(LogMin, "Error accepting from secure socket");
                 return false;
             }
         }
@@ -462,7 +462,7 @@ bool CHttpThread::onRequest()
             DBGLOG("Unknown exception accepting from secure socket");
             return false;
         }
-        DBGLOG("Request from secure socket");
+        ESPLOG(LogMax, "Request from secure socket");
         m_socket.set(secure_sock);
         httpserver.setown(new CEspHttpServer(*secure_sock.get(), m_apport, m_viewConfig, getMaxRequestEntityLength()));
     }