ASF Bugzilla – Attachment 28470 Details for
Bug 52914
On keep-alive on, after some time huge process load
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
http_filters.patch (text/plain), 1.06 KB, created by
Azat Khuzhin
on 2012-03-15 08:28:15 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Azat Khuzhin
Created:
2012-03-15 08:28:15 UTC
Size:
1.06 KB
patch
obsolete
>*** httpd-2.4.1/modules/http/http_filters.dist.c 2012-03-15 11:41:38.532232145 +0400 >--- httpd-2.4.1/modules/http/http_filters.c 2012-03-15 12:22:52.708233750 +0400 >*************** AP_DECLARE(int) ap_discard_request_body( >*** 1366,1373 **** > } > > bb = apr_brigade_create(r->pool, r->connection->bucket_alloc); >- seen_eos = 0; > do { > apr_bucket *bucket; > > rv = ap_get_brigade(r->input_filters, bb, AP_MODE_READBYTES, >--- 1366,1381 ---- > } > > bb = apr_brigade_create(r->pool, r->connection->bucket_alloc); > do { >+ // we need to reset this variable >+ // for avoid an infinity loop >+ // >+ // also APR_BUCKET_IS_EOS() only for one filter >+ // >+ // as written on documentation: >+ // The EOS bucket type. This signifies that there will be no more data, ever. All filters MUST send all data to the next filter when they receive a bucket of this type >+ seen_eos = 0; >+ > apr_bucket *bucket; > > rv = ap_get_brigade(r->input_filters, bb, AP_MODE_READBYTES,
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 52914
: 28470 |
28474