1. 15 Apr, 2015 10 commits
  2. 07 Apr, 2015 1 commit
  3. 05 Apr, 2015 1 commit
  4. 31 Mar, 2015 6 commits
    • Jim Jagielski's avatar
      Merge r1669289, r1669292 from trunk: · 28603f7f
      Jim Jagielski authored
      core_filters: restore/disable TCP_NOPUSH option after non-blocking sendfile.
      
      CHANGES: follow up to r1669289.
      Submitted by: ylavic
      Reviewed/backported by: jim
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1670328 13f79535-47bb-0310-9956-ffa450edef68
      28603f7f
    • Jim Jagielski's avatar
      Merge r1664071, r1664299 from trunk: · dcbe9564
      Jim Jagielski authored
      core: If explicitly configured, use the KeepaliveTimeout value of the
      virtual host which handled the latest request on the connection, or by
      default the one of the first virtual host bound to the same IP:port.
      
      For non-async MPMs, use either r->server's or c->base_server's value in
      ap_process_http_sync_connection() depending on a new server_rec's flag
      called keep_alive_timeout_set and determined at config time.
      
      For event MPM, use a queue per timeout value, chaining the queues per
      type (keepalive wrt KeepAliveTimeout, write completion wrt to Timeout)
      so that maintenance can be done on all the queues from the head, and such
      that insertions/maintenance remain in O(1).
      A server config is created and pointing to the queue of each vhost at
      post_config time, hence the config can be associated to the connection
      state (cs) at post_read_request time (keep_alive_timeout_set is used to
      determine r->server vs c->base_server here), and we can simply insert
      with TO_QUEUE_INSERT(cs->sc->q, cs).  PR56226.
      
      While at it, since each queue now embeds it own timeout and hence the
      expiration_time of the cs has changed to a queue_timestamp (the time it
      was queued), we can detect clock skews and expire entries immediatly if
      the system is set (eg. far) in the past during runtime and we want to
      avoid waiting for (eg.) centuries before the current logic kills them.
      Any entry which is registered above now + q->timeout is concerned, and
      is now cleaned from the queue when encountered.  PR57374.
      
      
      core: Follow up to r1664071: comments on new keep_alive_timeout_set flag.
      Submitted by: ylavic
      Reviewed/backported by: jim
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1670326 13f79535-47bb-0310-9956-ffa450edef68
      dcbe9564
    • Jim Jagielski's avatar
      Merge r1668532, r1668535, r1668553 from trunk: · 39136793
      Jim Jagielski authored
      core: Initialize scoreboard's used optional functions on graceful restarts to
      avoid a crash when relocation occurs.  PR 57177.
      
      
      core: follow up to r1668532: CHANGES entry.
      
      core: follow up to r1668532: always initialize optional_fn pointers in ap_create_scoreboard().
      Submitted by: ylavic
      Reviewed/backported by: jim
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1670325 13f79535-47bb-0310-9956-ffa450edef68
      39136793
    • Jim Jagielski's avatar
      Merge r1657636, r1657638, r1669130 from trunk: · 2d5c6f78
      Jim Jagielski authored
      mod_proxy_connect/wstunnel: If both client and backend sides get readable
      at the same time, don't lose errors occuring while forwarding on the first
      side when none occurs next on the other side, and abort.
      
      
      CHANGES: Follow up to r1657636, clarify message.
      
      
      mod_proxy_{connect,wstunnel}: follow up to r1657636.
      Since rv is not used as an apr_status_t in the loop (it's logging is done by
      proxy_{connect,wstunnel}_transfer() when necessary/relevent), use a boolean
      instead to avoid the ugly ORs between APR error codes.
      
      Submitted by: ylavic
      Reviewed/backported by: jim
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1670324 13f79535-47bb-0310-9956-ffa450edef68
      2d5c6f78
    • Jim Jagielski's avatar
      Merge r1661448 from trunk: · 241d0adc
      Jim Jagielski authored
      core: Add expression support to ErrorDocument. Switch from a fixed
      sized 664 byte array per merge to a hash table.
      
      Submitted by: minfrin
      Reviewed/backported by: jim
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1670320 13f79535-47bb-0310-9956-ffa450edef68
      241d0adc
    • Jim Jagielski's avatar
      Merge r1666361 from trunk: · 4ab0b8cf
      Jim Jagielski authored
      Avoid a potential integer underflow in the lock timeout value sent back to a client. The answer to a LOCK request could be an extremly large integer if the time needed to lock the resource was longer that the requested timeout given in the LOCK request. In such a case, we now answer "Second-0".  PR55420
      Submitted by: jailletc36
      Reviewed/backported by: jim
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1670319 13f79535-47bb-0310-9956-ffa450edef68
      4ab0b8cf
  5. 27 Mar, 2015 4 commits
  6. 24 Mar, 2015 3 commits
  7. 05 Mar, 2015 2 commits
  8. 04 Mar, 2015 2 commits
  9. 02 Mar, 2015 4 commits
  10. 27 Feb, 2015 1 commit
  11. 24 Feb, 2015 3 commits
    • Rainer Jung's avatar
      Merge r1661067 from trunk: · 4fbebb2c
      Rainer Jung authored
      mod_proxy_ajp: Forward SSL protocol name (SSLv3, TLSv1.1 etc.) as a
      request attribute to the backend. The name is taken from
      the SSL_PROTOCOL env var. Recent Tomcat versions will extract
      it and provide it as a servlet request attribute named
      "org.apache.tomcat.util.net.secure_protocol_version". 
      
      The change is compatible with existing AJP13, because we forward
      the protocol name as a normal named attribute, not with a new
      byte abbreviated attribute name.
      
      Submitted by: rjung
      Reviewed by: rjung, ylavic, covener
      Backported by: rjung
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1662076 13f79535-47bb-0310-9956-ffa450edef68
      4fbebb2c
    • Rainer Jung's avatar
      Merge r1657685 from trunk: · ad4d59a6
      Rainer Jung authored
      core: Optimize string concatenation in expression
      parser when evaluating a string expression.
      
      We have a relatively small recursion limit of
      about 10 operations. This is a compilation
      limit (a define). It can be hit if many expr
      vars or function calls are concatenated in an
      expression that is evaluated as a string not as
      a boolean.
      
      The new optimization uses iteration instead of
      recursion and is very similar to the
      existing one, which optimizes consecutive
      concatenations in node2 of the tree. The new
      one optimizes consecutive concatenations in
      node 1.
      
      Submitted by: rjung
      Reviewed by: rjung, ylavic, covener
      Backported by: rjung
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1662075 13f79535-47bb-0310-9956-ffa450edef68
      ad4d59a6
    • Christophe Jaillet's avatar
      Merge r1652930, r1652933 from trunk · 672ad4d6
      Christophe Jaillet authored
         * acinclude.m4: Generate #LoadModule directive in default httpd.conf for
                         every --enable-mpms-shared. PR 53882.
      
      Submitted by: olli hauer <ohauer gmx.de>, Yann Ylavic
      Reviewed by: ylavic, rjung, jailletc36
      Backported by: jailletc36
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1661848 13f79535-47bb-0310-9956-ffa450edef68
      672ad4d6
  12. 23 Feb, 2015 2 commits
  13. 22 Feb, 2015 1 commit