Checkout Tools
  • last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Merge r1874346, r1874545, r1874558 from trunk:

Avoid printing NULL strings in logs

Avoid printing NULL strings in logs

"?:" is a GNU extension, use standard syntax

spotted by Christophe Jaillet

  1. … 2 more files in changeset.
Merge r1868313 from trunk:

Honor "Accept-Encoding: foo;q=0" as per RFC 7231; which means 'foo' is

"not acceptable". PR 58158

Submitted by: jailletc36

Reviewed/backported by: jailletc36, jim, ylavic

  1. … 3 more files in changeset.
Merge r1843242 from trunk:

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

Submitted by: kotkov

Reviewed by: kotkov, ylavic, jim

  1. … 4 more files in changeset.
Merge r1837056 from trunk:

*) http: Enforce consistently no response body with both 204 and 304

statuses. [Yann Ylavic]

  1. … 8 more files in changeset.
Merge r1818278 from trunk:

APR-ize uint types

Submitted by: jim

Reviewed by: covener, jim, ylavic

  1. … 1 more file in changeset.
This source and build file are text
  1. … 1 more file in changeset.
Merge r1790852, r1790853, r1790860 from trunk:

Merge r1761714, r1762512, r1762515, r1771791, r1779077, r1779091, r1779699, r1790852, r1790853, r1790860 from trunk:

mod_brotli: Add initial implementation.

This new module supports dynamic Brotli (RFC 7932) compression. Existing

mod_deflate installations can benefit from better compression ratio by

sending Brotli-compressed data to the clients that support it:

SetOutputFilter BROTLI_COMPRESS;DEFLATE

The module features zero-copy processing, which is only possible with the

new API from the upcoming 1.0.x series of brotli [1]. The Linux makefile

works against libbrotli [2], as currently the core brotli repository doesn't

offer a way to build a library [3]. Apart from that, only the CMake build

is now supported.

[1] https://github.com/google/brotli

[2] https://github.com/bagder/libbrotli

[3] https://github.com/google/brotli/pull/332

mod_brotli: Allow compression ratio logging with new BrotliFilterNote

directive.

mod_brotli: Handle new 'no-brotli' internal environment variable that

disables Brotli compression for a particular request.

This mimicks how mod_deflate handles the 'no-gzip' env variable, and

should allow seamless migration for configurations that use it.

mod_brotli: Explicitly cast 'const uint8_t *' to 'const char *' when using

the data received from Brotli to create a bucket.

This fixes a /W4 warning in my environment, and should also allow building

mod_brotli on NetWare.

Submitted by: NormW <normw gknw.net>

unused variable error could mistakenly note that brotli isn't available.

1st draft

Be more consitent in the layout, and fix the display of a multi lines <highlight> section

mod_brotli: Update makefile to allow using Brotli library >= 0.6.0.

The 0.6.0 version has just been released [1], and it contains the

necessary API required for mod_brotli.

[1] https://github.com/google/brotli/releases/tag/v0.6.0

mod_brotli: Fix a minor typo in the description of BrotliAlterETag

that has been referring to httpd 2.2.x.

There's no mod_brotli in 2.2.x.

mod_brotli: Comment on the default choice (0) for BROTLI_PARAM_LGBLOCK.

Submitted by: kotkov, jim, jim, jailletc36, kotkov, kotkov, kotkov

Reviewed by: jim, jorton, icing

mod_brotli: Update makefile to allow using Brotli library >= 0.6.0.

The 0.6.0 version has just been released [1], and it contains the

necessary API required for mod_brotli.

[1] https://github.com/google/brotli/releases/tag/v0.6.0

mod_brotli: Fix a minor typo in the description of BrotliAlterETag

that has been referring to httpd 2.2.x.

There's no mod_brotli in 2.2.x.

mod_brotli: Comment on the default choice (0) for BROTLI_PARAM_LGBLOCK.

Submitted by: kotkov

Reviewed by: jim, jorton, icing

  1. … 7 more files in changeset.