httpd

Checkout Tools
  • last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates

Changeset 1843242 is being indexed.

mod_brotli, mod_deflate: Restore the separate handling of 304 Not Modified

responses allowing these modules to properly set or fix-up the response

headers such as Vary or ETag.

This change follows up on r1837056 that disabled that special handling and

thus resulted in a potential violation of RFC7232, 4.1:

The server generating a 304 response MUST generate any of the following

header fields that would have been sent in a 200 (OK) response to the

same request: Cache-Control, Content-Location, Date, ETag, Expires,

and Vary.)

References:

https://lists.apache.org/thread.html/f5733ca6743757e8aa8b58a0cd9e27680971551c2a20f5606c66507e@%3Cdev.httpd.apache.org%3E

https://tools.ietf.org/html/rfc7232#section-4.1

vote
Vote, promote.
Propose.
update transformation

ran `build bootstrap` and rebuild transformation. sorry for the noise.

  1. … 277 more files in changeset.
move es and fr targets to *.utf8 extension. Update transformation

    • ?
    /httpd/trunk/docs/manual/mod/event.html.fr.utf8
    • ?
    /httpd/trunk/docs/manual/mod/directives.html.es.utf8
  1. … 871 more files in changeset.
Fix xml validation error

Update doc for building docs.

- Prepare for a java 1.2+ to a java 8+ transition

- Use 2.4.x as an example, instead of 2.2.x

- remove reference to sun (this is more or less 10 years old now!)

- add a missing formatting `...`

Add changes, docs for DefaultStateDir and DavLockDB default change.

* modules/dav/fs/mod_dav_fs.c (dav_fs_create_server_config): Use

statedir-relative default lock database path.

Define "state directory" for storing persistent child-writable state,

with default from config.layout, configurable via DefaultStateDir.

* server/core.c (set_state_dir, ap_state_dir_relative):

New functions.

* config.layout, acinclude.m4, Makefile.in, configure.in: Define

statedir variables, drop davlockdb.

* include/ap_config_layout.h.in: Define DEFAULT_REL_STATEDIR,

DEFAULT_EXP_STATEDIR in place of _DAVLOCKDB.

* include/ap_mmn.h: Bump MMN minor.

* modules/cache/mod_cache_disk.c (write_headers): Handle

mkdir_structure error case. Fixes Coverity warning.

* server/protocol.c (ap_rvputs): Call va_end before returning in the

error case, as required by C89/POSIX stdarg.h - Coverity warns for

this.

* modules/ldap/util_ldap_cache_mgr.c (util_ald_create_caches): Destroy

rather than leak caches if all three cannot be allocated (Coverity

warning). Remove unnecessary pointer.

promote w/ 3

Backport votes

* modules/filters/mod_deflate.c

(deflate_out_filter): Fix typo setting output note. (Coverity warning)

(deflate_in_filter): Fix redundant assignment. (clang warning)

* modules/mappers/mod_negotiation.c (set_language_quality): Remove

redundant branch (warning from Coverity).

* modules/ssl/ssl_engine_pphrase.c (ssl_load_encrypted_pkey): Remove

redundant assignment (clang warning).

* modules/slotmem/mod_slotmem_shm.c (restore_slotmem): Remove

redundant assignment (clang warning), the apr_file_eof(fp)=>APR_EOF

case assigns rv to APR_EOF and then to APR_SUCCESS after already.

* modules/proxy/ajp_header.c (sc_for_req_header): Zero-initialize

buffer to avoid potential (harmless) memcmp comparison against

garbage stack data later. (clang warning).

XForms.

Backport of r1842640 from trunk.

Remove garbage.

Backport of r1842639 from trunk.

XForms.

Remove garbage.

build bootstrap

Spanish html doc files : UTF-8 encoding in order to get rid of HTML entities.
Spanish html doc files : UTF-8 encoding in order to get rid of HTML entities.
Spanish html doc files : UTF-8 encoding in order to get rid of HTML entities.