1. 18 Mar, 2016 1 commit
  2. 17 Mar, 2016 3 commits
  3. 16 Mar, 2016 1 commit
  4. 14 Mar, 2016 1 commit
  5. 10 Mar, 2016 3 commits
  6. 09 Mar, 2016 2 commits
  7. 03 Mar, 2016 4 commits
  8. 02 Mar, 2016 4 commits
    • Jim Jagielski's avatar
      Merge r1729930, r1729931 from trunk: · f38b572e
      Jim Jagielski authored
      hostname: Test and log useragent_host per-request across various modules,
      including the scoreboard, expression and rewrite engines, setenvif,
      authz_host, access_compat, custom logging, ssl and REMOTE_HOST variables.
      PR55348  [William Rowe]
      
      This is the complete change set which applies cleanly to 2.4.x as well,
      the server/scoreboard.c will follow, which does not apply due to drift.
      
      
      
      A rather ugly patch since the code was refactored recently to exclude
      the simple patch for 2.4.x, illustrated below.
      
      Completes the changeset r1729930 and resolves all 2.4.19-dev corrections,
      but other 2.5.0-dev specific changes may still be needed on trunk.
      
      --- server/scoreboard.c	(revision 1729907)
      +++ server/scoreboard.c	(working copy)
      @@ -491,9 +491,8 @@
                   ws->conn_bytes = 0;
               }
               if (r) {
      -            const char *client = ap_get_remote_host(c, r->per_dir_config,
      -                                 REMOTE_NOLOOKUP, NULL);
      -            if (!client || !strcmp(client, c->client_ip)) {
      +            const char *client;
      +            if (!(client = ap_get_useragent_host(r, REMOTE_NOLOOKUP, NULL))) {
                       apr_cpystrn(ws->client, r->useragent_ip, sizeof(ws->client));
                   }
                   else {
      
      
      Submitted by: wrowe
      Reviewed/backported by: jim
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1733282 13f79535-47bb-0310-9956-ffa450edef68
      f38b572e
    • Jim Jagielski's avatar
      Merge r1729929 from trunk: · adda6f6f
      Jim Jagielski authored
      Introduce an ap_get_useragent_host() accessor to replace the old
      ap_get_remote_host() in most applications, but preserve the original
      behavior for all ap_get_remote_host() consumers (mostly, because we
      don't have the request_rec in the first place, and also to avoid any
      unintended consequences).
      
      This accessor continues to store the remote_host of connection based
      uesr agents within the conn_rec for optimization.  Only where some
      other module modifies the useragent_addr will we perform a per-request
      query of the remote_host.
      
      (Fixed compilation issues noted by Ranier, applies to 2.4.x trunk,
      modulo CHANGES and ap_mmn.h)
      
      
      Submitted by: wrowe
      Reviewed/backported by: jim
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1733281 13f79535-47bb-0310-9956-ffa450edef68
      adda6f6f
    • Stefan Eissing's avatar
      backport of PR 59019 fix · 8273285f
      Stefan Eissing authored
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1733278 13f79535-47bb-0310-9956-ffa450edef68
      8273285f
    • Stefan Eissing's avatar
      2bbe2c79
  9. 01 Mar, 2016 1 commit
  10. 25 Feb, 2016 1 commit
  11. 18 Feb, 2016 2 commits
    • Jim Jagielski's avatar
      Merge r1721899 from trunk: · 098357b0
      Jim Jagielski authored
      mod_cache_socache: Fix a possible cached entity body corruption when it
      is received from an origin server in multiple batches and forwarded by
      mod_proxy.
      
      Upstream buckets should be setaside when saving response body (store_body),
      but since those will finally be flatten in the cache buffer (commit_entity),
      let's save them directly into the buffer to avoid heap allocation(s) and
      the final copy.
      
      Reported by: Mike Pastore <mike oobak.org> 
      
      Submitted by: ylavic
      Reviewed/backported by: jim
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1731082 13f79535-47bb-0310-9956-ffa450edef68
      098357b0
    • Jim Jagielski's avatar
      Merge r1653941, r1653978, r1656225, r1686853, r1686856 from trunk: · 7fe649be
      Jim Jagielski authored
      mod_alias: Introduce expression parser support for Alias, ScriptAlias
      and Redirect.
      
      
      Use unsigned bit fields.
      
      
      mod_alias: follow up to r1653941.
      Fill empty APLOGNO().
      
      
      mod_alias: follow up to r1653941.
      Limit Redirect expressions to directory (Location) context
      and redirect statuses (implicit or explicit).
      
      
      mod_alias: follow up to r1686853.
      Factorize code (no functional change).
      Submitted by: minfrin, ylavic, ylavic, ylavic
      Reviewed/backported by: jim
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1731081 13f79535-47bb-0310-9956-ffa450edef68
      7fe649be
  12. 16 Feb, 2016 1 commit
  13. 11 Feb, 2016 3 commits
  14. 09 Feb, 2016 1 commit
  15. 28 Jan, 2016 2 commits
  16. 21 Jan, 2016 3 commits
  17. 19 Jan, 2016 2 commits
  18. 30 Dec, 2015 1 commit
  19. 28 Dec, 2015 1 commit
  20. 08 Dec, 2015 2 commits
  21. 07 Dec, 2015 1 commit