ASF Bugzilla – Attachment 33185 Details for
Bug 58503
segfault in apr_brigade_cleanup() under high load with slow clients
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Cleanup mod_proxy_wstunnel's backend brigades
httpd-2.4.x-mod_proxy_wstunnel-cleanup-v2.patch (text/plain), 1.15 KB, created by
Yann Ylavic
on 2015-10-16 21:31:04 UTC
(
hide
)
Description:
Cleanup mod_proxy_wstunnel's backend brigades
Filename:
MIME Type:
Creator:
Yann Ylavic
Created:
2015-10-16 21:31:04 UTC
Size:
1.15 KB
patch
obsolete
>Index: modules/proxy/mod_proxy_wstunnel.c >=================================================================== >--- modules/proxy/mod_proxy_wstunnel.c (revision 1709107) >+++ modules/proxy/mod_proxy_wstunnel.c (working copy) >@@ -104,7 +104,8 @@ static apr_status_t proxy_wstunnel_transfer(reques > APR_NONBLOCK_READ, AP_IOBUFSIZE); > if (rv == APR_SUCCESS) { > if (c_o->aborted) { >- return APR_EPIPE; >+ rv = APR_EPIPE; >+ break; > } > if (APR_BRIGADE_EMPTY(bb)) { > break; >@@ -121,6 +122,7 @@ static apr_status_t proxy_wstunnel_transfer(reques > } > rv = ap_pass_brigade(c_o->output_filters, bb); > if (rv == APR_SUCCESS) { >+ apr_brigade_cleanup(bb); > ap_fflush(c_o->output_filters, bb); > } > else { >@@ -134,6 +136,7 @@ static apr_status_t proxy_wstunnel_transfer(reques > name); > } > } while (rv == APR_SUCCESS); >+ apr_brigade_cleanup(bb); > > ap_log_rerror(APLOG_MARK, APLOG_TRACE2, rv, r, "wstunnel_transfer complete"); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 58503
:
33184
| 33185