-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Freebind #550
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 2.4.x
Are you sure you want to change the base?
Freebind #550
Conversation
This tweaks accept() failure processing by having ap_unixd_accept pass more errors up, and having the MPM's check against a macro to see if they are in a whitelist of non ENETDOWN/EMFILE kind of potential process-wide errors. Default behavior is still to exit. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1820098 13f79535-47bb-0310-9956-ffa450edef68 backport: apache@98e9503 backport: apache@26bcd25
socket options. Reimplement "use_specific_errors" listener flag under generic ap_listen_rec flags field holding all listener-specific options. * include/ap_listen.h: Add AP_LISTEN_* flags. (ap_listen_rec): Rename use_specific_errors to flags. * server/listen.c (make_sock): Set APR_SO_FREEBIND if AP_LISTEN_FREEBIND flag is set on listener; set APR_SO_REUSEPORT unconditionally if AP_LISTEN_REUSEPORT is set. (alloc_listener): Take flags argument. (ap_setup_listeners): Set AP_LISTEN_SPECIFIC_ERRORS flag here. (ap_set_listener): Parse optional options=... argument, catch typos and fail if protocol name contains a "=". (ap_duplicate_listeners): Duplicate flags. Submitted by: jkaluza, Lubos Uhliarik <luhliari redhat.com>, jorton PR: 61865 Github: closes apache#114 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1876865 13f79535-47bb-0310-9956-ffa450edef68 backport: apache@a42f369 backport: apache@b0b6448
|
I also believe that ECONNREFUSED, ECONNABORTED, or ECONNRESET should be extended to:
|
|
Any news ? |
|
I have no spare cycles to work on this. |
|
Sorry, but no free cycles either currently. |
|
For 387c78b I doubt we can extend |
|
I haven't tried it but I think the listener options like V6ONLY and FREEBIND could and should be handled entirely within the |
|
Moving the setting of FREEBIND and REUSEPORT options into [^ manually copying the options using getsockopt(orig)/setsockopt(new) each time, kind of ugly but it will work] |
Hi,
Can you find a backport for 2.4x of freebind patches
On debian side we will like it
@notroj