Skip to content
  1. Apr 27, 2016
    • Jim Jagielski's avatar
      Merge r1739008, r1739146, r1739151, r1739193 from trunk: · 9116ab2a
      Jim Jagielski authored
      scoreboard/status: Keep previous worker connection/request data when idle as
      prior to 2.4.20.
      
      
      scoreboard/status: follow up to r1739008.
      Restore (completely) pre-2.4.20 behaviour w.r.t. preserved values.
      r1739008 was still unnessessarily blanking some values for the time of
      BUSY_READ -> BUSY_WRITE (with blocking MPMs).
      
      
      scoreboard/status: follow up to 1739146.
      Comment not needed anymore...
      
      
      Clarify CHANGES entry, including the correct version for the
      restored behaviour.
      
      Submitted by: ylavic
      Reviewed/backported by: jim
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1741240 13f79535-47bb-0310-9956-ffa450edef68
      9116ab2a
  2. Apr 20, 2016
  3. Apr 07, 2016
  4. Apr 04, 2016
  5. Apr 01, 2016
  6. Mar 31, 2016
  7. Mar 24, 2016
  8. Mar 23, 2016
  9. Mar 21, 2016
  10. Mar 20, 2016
    • Jim Jagielski's avatar
      Merge r1587607, r1588868 from trunk: · b1e0ccbb
      Jim Jagielski authored
      mod_ssl: Add hooks to allow other modules to perform processing at
      several stages of initialization and connection handling.  See
      mod_ssl_openssl.h.
      
      This is enough to allow implementation of Certificate Transparency
      outside of mod_ssl.
      
      
      Initialize post_handshake_rc for case where a failure has
      already occurred (doesn't change execution but avoids warning
      with some levels of gcc).
      
      Pointed out by: kbrand
      
      Submitted by: trawick
      Reviewed/backported by: jim
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1735886 13f79535-47bb-0310-9956-ffa450edef68
      b1e0ccbb
  11. Mar 19, 2016
  12. Mar 18, 2016
  13. Mar 17, 2016
  14. Mar 16, 2016
  15. Mar 14, 2016
  16. Mar 10, 2016
  17. Mar 09, 2016
  18. Mar 03, 2016
  19. Mar 02, 2016
    • 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
  20. Mar 01, 2016