]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Async mod_proxy_wstunnel:
authorTakashi Sato <takashi@apache.org>
Wed, 25 Jun 2014 12:52:09 +0000 (12:52 +0000)
committerTakashi Sato <takashi@apache.org>
Wed, 25 Jun 2014 12:52:09 +0000 (12:52 +0000)
Resume a client connection from SUSPENDED state to avoid the
connection remain suspended.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1605376 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_proxy_wstunnel.c

index 4926192d35697ce79fd6ab2912a897a59b60dde5..1e810d7adbdad592a71543c0bedf921eb2183cdc 100644 (file)
@@ -147,6 +147,7 @@ static void proxy_wstunnel_finish(ws_baton_t *baton) {
     ap_finalize_request_protocol(baton->r);
     ap_lingering_close(baton->r->connection);
     apr_socket_close(baton->client_soc);
+    ap_mpm_resume_suspended(baton->r->connection);
     ap_process_request_after_handler(baton->r); /* don't touch baton or r after here */
 }