Skip to content
  1. Jun 26, 2017
    • Jim Jagielski's avatar
      Merge r1799784, r1799786 from trunk: · e7c35344
      Jim Jagielski authored
      Since r1753257, "HEAD" method is registered into the registry hash with the M_GET ID.
      (r1757672 in 2.4.x)
      
      We iterate over all the values of the registery, so there is no need anymore to have a special case for "HEAD" in  'make_allow()'. It has its own entry now.
      
      With the current code, we have "HEAD" 3 times in the Allow Header field.
      This is because we find M_GET 2 times in the registry hash. The first one gives "GET" and "HEAD" (as the special handling), and the second "HEAD" and "HEAD" (as the special handling).
      
      
      BTW, use APR_ARRAY_PUSH instead of hand coding it, in oder to have the code more readable.
      
      PR 61207
      
      Add  CHANGE entry
      Submitted by: jailletc36
      Reviewed by: jailletc36, rpluem, jim
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1799890 13f79535-47bb-0310-9956-ffa450edef68
      e7c35344
  2. Jun 19, 2017
  3. Jun 14, 2017
  4. Jun 13, 2017
  5. Jun 12, 2017
  6. Jun 06, 2017
  7. Jun 05, 2017
  8. Jun 02, 2017
  9. May 30, 2017
  10. May 28, 2017
  11. May 27, 2017
  12. May 23, 2017
    • Jim Jagielski's avatar
      Merge r1792589 from trunk: · 0e4494a2
      Jim Jagielski authored
      Evaluate nested If/ElseIf/Else config sections
      
      It has been reported multiple times that nested
      If/ElseIf/Else sections are not evaluated but
      silently ignored.
      
      This patch adds a simple recursion to the ap_if_walk
      logic in order to allow arbitrary nested configs.
      The overhead seems negligible compared to the actual
      version of the ap_if_walk, but more expert feedback
      is surely needed since this code gets called for every
      HTTP request.
      
      Tests are going to be added to t/apache/if_sections.t
      
      
      Submitted by: elukey
      Reviewed by: elukey, jim, yalvic
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1795906 13f79535-47bb-0310-9956-ffa450edef68
      0e4494a2
  13. May 11, 2017
    • Eric Covener's avatar
      Merge r1791400 from trunk: · 53463dbf
      Eric Covener authored
      mod_substitute: use local/native LF for splitting
      
      On platforms where the APR_ASCII_LF != '\n', like EBCDIC systems,
      strmatch or pcre patterns from the source or config will be in
      the native encoding, and this module will really only work on 
      content in the native encoding.
      
      (mod_substitute runs before mod_charset_lite for a similar reason)
      
      I thought #if APR_CHARSET_EBCDIC or even #ifdef __MVS__ was overkill
      here. 
      
      
      
      (CTR due to ebcdic-only)
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1794856 13f79535-47bb-0310-9956-ffa450edef68
      53463dbf
  14. May 05, 2017
  15. May 02, 2017
  16. Apr 21, 2017
  17. Apr 18, 2017
  18. Apr 13, 2017
    • Jim Jagielski's avatar
      Merge r1790852, r1790853, r1790860 from trunk: · 0e2b3fbe
      Jim Jagielski authored
      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
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1791231 13f79535-47bb-0310-9956-ffa450edef68
      0e2b3fbe
  19. Apr 10, 2017
  20. Apr 03, 2017
  21. Mar 31, 2017
  22. Mar 28, 2017
  23. Mar 24, 2017
    • Jacob Champion's avatar
      Merge r1783842 from trunk: · 0f41a01f
      Jacob Champion authored
      mod_cache: Fix a regression in 2.4.25 for the forward proxy case by
      computing and using the same entity key according to when the cache
      checks, loads and saves the request.  PR 60577.
      
      Submitted by: ylavic
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1788511 13f79535-47bb-0310-9956-ffa450edef68
      0f41a01f
    • Jacob Champion's avatar
      Merge r1779573 from trunk: · a3951ed2
      Jacob Champion authored
      mod_proxy_hcheck: thread-safety.
      Use the thread pool everywhere for the needs/lifetime of the request to
      the backend.
      
      Submitted by: ylavic
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1788510 13f79535-47bb-0310-9956-ffa450edef68
      a3951ed2
    • Jim Jagielski's avatar
      Merge r1780095 from trunk: · bbccb628
      Jim Jagielski authored
      Fix %{DOCUMENT_URI} in SSI w/ default parser
      
        *) core: %{DOCUMENT_URI} used in nested SSI expressions should point to the
           URI originally requsted by the user, not the nested documents URI. This
           restores the behavior of this variable to match the "legacy" SSI parser.
           PR60624. 
      
      Submitted By [Hank Ibell <hwibell gmail.com>]
      
      
      Submitted by: covener
      Reviewed by: covener, wrowe, ylavic
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1788448 13f79535-47bb-0310-9956-ffa450edef68
      bbccb628
    • Jim Jagielski's avatar
      Merge r1780328, r1780329, r1781329, r1782164, r1782166, r1782193, r1778350,... · a4c7dcce
      Jim Jagielski authored
      Merge r1780328, r1780329, r1781329, r1782164, r1782166, r1782193, r1778350, r1781329, r1782194, r1782323, r1782418, r1782419, r1782482, r1782532, r1788040 from trunk:
      
      Adjust as needed
      
      debugging
      
      add ProxyFCGISetEnvIf
      
      
      Logging update
      
      Follow up to r1782164: fix typo (closing double-quote).
      
      Remove trailing whitespace : no functional change
      
      PR60576: php-fpm broken w/ per-dir rewrites
      
      Attempt to dig out of well-meaning fixes for generic fcgi backends
      that negatively affected some FPM configs.
      
      Adds ProxyFCGIBackendType 
      
      
      add ProxyFCGISetEnvIf
      
      
      trailing whitespace
      
      Allow final admin-level fine-tuning
      
      mod_proxy_fcgi: fix spelling in APLOG_INFO message
      
      mod_proxy_fcgi: allow setting empty variables in ProxyFCGISetEnvIf
      
      support unsetting vars
      
      
      
      ProxyFCGISetEnvIf: reject invalid invocations, streamline unsets
      
      Neither of the following makes sense:
      - ProxyFCGISetEnvIf cond !VARIABLE value
      - ProxyFCGISetEnvIf cond !
      
      Error out in these cases. Also, don't execute the (unused) replacement
      expression when unsetting.
      
      drop the longhand version
      
      
      Submitted by: jim, covener, jim, ylavic, jim, covener, covener, jim, jim, jchampion, jchampion, covener, jchampion, covener
      Reviewed by: jim, covener, jchampion
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1788445 13f79535-47bb-0310-9956-ffa450edef68
      a4c7dcce