Skip to content
  1. May 03, 2016
    • Ruediger Pluem's avatar
      Merge r1741310, r1741461 from trunk: · f2413112
      Ruediger Pluem authored
      
        Ensure http2 follows http in the meaning of
        status WRITE (meaning 'in the request processing
        phase' even if still consuming the request body,
        not literally in a 'now writing' state).
      
        Ensure a number of MPMs and the h2 connection io
        no longer clobber the request status line during
        state-only changes.  While at it, clean up some
        very ugly formatting and unnecessary decoration,
        and avoid the wordy _from_conn() flavor when we
        are not passing a connection_rec.
      
        Ensure the useragent_ip is only used in the case
        where it has been initialized, fall back on the
        connection's remote_ip if the status is accidently
        updated from an uninitialized request_rec.
      
      Revert to 2.4.1 behavior and null the request and vhost as appropriate.
      PR: 59333
      Submitted by: wrowe
      Reviewed by: wrowe, ylavic, rpluem
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1742179 13f79535-47bb-0310-9956-ffa450edef68
      f2413112
  2. Apr 28, 2016
  3. Apr 27, 2016
  4. Apr 20, 2016
  5. Apr 07, 2016
  6. Apr 04, 2016
  7. Apr 01, 2016
  8. Mar 31, 2016
  9. Mar 24, 2016
  10. Mar 23, 2016
  11. Mar 21, 2016
  12. 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
  13. Mar 19, 2016
  14. Mar 18, 2016
  15. Mar 17, 2016
  16. Mar 16, 2016
  17. Mar 14, 2016
  18. Mar 10, 2016
  19. Mar 09, 2016
  20. Mar 03, 2016
  21. 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