Skip to content
  1. Jun 19, 2017
  2. Jun 14, 2017
  3. Jun 13, 2017
  4. Jun 12, 2017
  5. Jun 06, 2017
  6. Jun 05, 2017
  7. Jun 02, 2017
  8. May 30, 2017
  9. May 28, 2017
  10. May 27, 2017
  11. 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
  12. 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
  13. May 05, 2017
  14. May 02, 2017
  15. Apr 21, 2017
  16. Apr 18, 2017
  17. 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
  18. Apr 10, 2017
  19. Apr 03, 2017
  20. Mar 31, 2017
  21. Mar 28, 2017
  22. 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
    • Yann Ylavic's avatar
      Merge r1781187, r1781190, r1781312 from trunk: · 7d709917
      Yann Ylavic authored
      mod_ssl: work around leaks on (graceful) restart.
      
      Tested with valgrind and --with-ssl shared/static.
      
      
      mod_ssl: follow up to r1781187.
      The ssl_util_thread_*() functions are not necessary with openssl-1.1+
      
      
      mod_ssl: follow up to r1781187.
      Address SSL_CTX leak in (merged) proxy_ctx.
      
      
      Reviewed by: ylavic, jim, wrowe
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1788442 13f79535-47bb-0310-9956-ffa450edef68
      7d709917