提交 23f07aa1 编写于 作者: S slguan

fix the issue #513

上级 1a718fbc
...@@ -183,7 +183,7 @@ void httpCloseContextByApp(HttpContext *pContext) { ...@@ -183,7 +183,7 @@ void httpCloseContextByApp(HttpContext *pContext) {
} }
pthread_mutex_lock(&pContext->mutex); pthread_mutex_lock(&pContext->mutex);
if (pContext->signature != pContext || pContext->fd <= 0) { if (pContext->signature != pContext) {
return; return;
} }
...@@ -212,7 +212,7 @@ void httpCloseContextByServer(HttpThread *pThread, HttpContext *pContext) { ...@@ -212,7 +212,7 @@ void httpCloseContextByServer(HttpThread *pThread, HttpContext *pContext) {
return; return;
} }
pthread_mutex_lock(&pContext->mutex); pthread_mutex_lock(&pContext->mutex);
if (pContext->signature != pContext || pContext->fd <= 0) { if (pContext->signature != pContext) {
return; return;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册