httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 61616] mod_proxy_connect: stall and connection loss on bi-directional traffic
Date Sun, 22 Oct 2017 12:22:57 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=61616

--- Comment #22 from Yann Ylavic <ylavic.dev@gmail.com> ---
(In reply to Carsten Wolff from comment #21)
> 
> Maybe there should be a APR_NONBLOCK_WRITE flag one could
> pass to ap_pass_brigade() (and further down to send_brigade_blocking) to
> absolutely make sure, the poll() there is never hit?

When the poll() is hit in send_brigade_blocking() it means the core output
filter ought to block, because we don't want unbounded buffering.

Suppose a handler keeps sending data out, when the socket becomes full we must
stop buffering soon or later (i.e. above THRESHOLD_MAX_BUFFER or something
configurable which is the point of attachment 35427, among other parameters).

Otherwise it's unbounded memory usage.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message