Checkout Tools
  • last updated 7 hours ago
Constraints: committers
Constraints: files
Constraints: dates

Changeset 1876892 is being indexed.

Merge r1876869 from trunk:

systemd dependencies are only needed by mod_systemd.

They should currently not be needed by httpd directly

or any other binary. So no need to add them to


Submitted by: rjung

Reviewed by: rjung, jim, jorton

Votes. [skip ci]

Merge r1876540 from trunk:

PR64295 cannot override default Virtualhost's mod_reqtimeout

of course only body=n can work the headers have to parsed to get the virtualhost.

Submitted by: jfclere

Reviewed by: jailletc36, rpluem, jim

Merge r1876484, r1876493 from trunk:

PR64313 htcacheclean: Empty directories in CacheRoot are still present even after using "-t"

* Whitespace style fixes. No functional change.

Submitted by: jfclere, rpluem

Reviewed by: jailletc36, rpluem, jim

Merge r1783041 from trunk:

default_handler: cleanup outputed brigade before leaving.

Submitted by: ylavic

Reviewed by: jailletc36, rpluem, jim

Merge r1534995, r1560482, r1728779, r1805491, r1861528, r1868016, r1874470, r1874602, r1875769, r1875811 from trunk:

don't ignore some apr_procattr failures (clang scan-build)

doxygen improvements

Standardize order of "extern" and XXX_DECLARE_YYY.

Fix some compilation warning when MIME_MAGIC_DEBUG is defined.

warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument <n> has type ‘<something> *’ [-Wformat=]

style: cmd_rec at the bottom

no functional change

Fix a typo in a message.

Reported and fixed by Christian Bartolomäus (bartolin

PR 63806

malloc -> ap_malloc

bz #63967

Slighly simplify code.

No need to set to NULL or 0 fields that are apr_pcalloc'ed.

Axe 'set_cookie_enable' and use 'ap_set_flag_slot' instead.

(based on ideas taken from r1874389)

Parentheses around AP_BUCKET_IS_EOR argument.

Fix a typo

Submitted by: trawick, rjung, jailletc36, covener, jailletc36, gbechis, jailletc36, ylavic, jailletc36

Reviewed by: jailletc36, gbechis, jim

and promote


Porpose. [skip ci]

r1876870 isn't under CTR.

So undo for now.

Will add to STATUS.

Revert r1876869 because on trunk server/listen.c

also has a dependency on libsystemd.

Thanks to jorton for pointing it out.

systemd dependencies are only needed by mod_systemd.

They should currently not be needed by httpd directly

or any other binary. So no need to add them to


Should be CTR (build system).

Backport of r1876869 from trunk.

systemd dependencies are only needed by mod_systemd.

They should currently not be needed by httpd directly

or any other binary. So no need to add them to


Add optional options= argument to Listen to add listener-specific

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>, jorton

PR: 61865

Github: closes #114

config: allow for environment variable substitution fallback to default value.

Make ap_resolve_env() handle the ${VAR?=default value} syntax, and update docs.

* modules/filters/mod_proxy_html.c: Fix proxy_html_conf.bufsz

to have correct type, as it is used with ap_set_int_slot.

sort safe_env_lst

bz 65371

be less specific and don't echo passphrase
* modules/ssl/ssl_engine_io.c (ssl_io_filter_coalesce): Update comment only. [skip ci]

core: follow up to r1876664: allow ErrorDocument to read body when applicable

Unless ap_read_request() failed to read the request line or header, or

Transfer-Encoding is invalid, we can still provide the request body to custom

error handlers (ErrorDocument) that ask it (e.g. internal redirects to CGI).

So this commit splits early failure path (previously die_early label) in two,

die_unusable_input and die_before_hooks, where the latter preserves input

filters (including HTTP_IN).

Also, the code to apply the connection timeout and r->per_dir_config from the

server is now in a new apply_server_config() helper since it's used multiple

times. Note that apr_socket_timeout_set() is a noop if the new timeout is the

same as the one already in place, so there is no need to cache the old timeout

nor use apr_socket_timeout_get(). Likewise, r->server is initially set to

c->base_server so apply_server_config() is overall a noop when no change is


r1876779 follow-up.

strcmp returns 0 if strings match, i.e. TLS/1.0 is found.

ap_find_token returns 1 if TLS/1.0 is found.

So the test has to be reversed to keep the same behavior

Fix the way we are looking for "TLS/1.0" tokens.

ap_find_token() is more robust than expecting the token to be the first one in the 'Upgrade' header field.

(see modules/ssl/ssl_engine_kernel.c#284)

Put post-release security entries underneath

2.4.43 instead of 2.4.44.

* support/suexec.c (main): Report error string after failure from

setgid/initgroups or setuid.

* support/suexec.c (safe_strtol): New function.

(main): Use ^ to be avoid using atoi(); try to catch more string to

integer and integer to uid/gid conversion errors/surprises.

PR: 33207

mod_ssl: axe useless X509_free (NULL arg).
fr doc rebuild.

fr doc XML files updates.

gdbinit: print bucket fd when available.
gdbinit: more address colomn space for 64bit.