Skip to content
  1. May 27, 2008
  2. May 26, 2008
  3. May 21, 2008
  4. May 20, 2008
  5. May 19, 2008
  6. May 18, 2008
  7. May 17, 2008
    • Ruediger Pluem's avatar
      * Whitespace fixes · 78d70e01
      Ruediger Pluem authored
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@657454 13f79535-47bb-0310-9956-ffa450edef68
      78d70e01
    • Ruediger Pluem's avatar
      Merge r654119 from trunk: · a2d857d1
      Ruediger Pluem authored
      * modules/ssl/mod_ssl.c (ssl_cleanup_pre_config): Remove the call to
        CRYPTO_cleanup_all_ex_data here, fixing a per-connection memory leak
        which occurs if the client indicates support for a compression
        algorithm in the initial handshake, and mod_ssl is linked against
        OpenSSL >= 0.9.8f.
      
      Thanks to Amund Elstad and Dr Stephen Henson for analysis of this
      issue.
      
      Submitted by: jorton
      Reviewed by: rpluem, jim, fielding
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@657445 13f79535-47bb-0310-9956-ffa450edef68
      a2d857d1
    • Ruediger Pluem's avatar
      Merge r645813 from trunk: · 6f3e1534
      Ruediger Pluem authored
      * In the case that we fail to read the response line from the backend and if
        we are a reverse proxy request shutdown the connection WITHOUT ANY response
        to trigger a retry by the client if allowed (as for idempotent requests).
        BUT currently we should not do this if the request is the first request on
        a keepalive connection as browsers like seamonkey only display an empty page
        in this case and do not do a retry.
      
      Related to PR 37770
      
      Submitted by: rpluem
      Reviewed by: rpluem, jim, fielding
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@657443 13f79535-47bb-0310-9956-ffa450edef68
      6f3e1534
    • Ruediger Pluem's avatar
      * Merge r602542, r603237, r603502, r603543, r604447, r604449, r605314, · 463e509c
      Ruediger Pluem authored
        r605838 from trunk:
      
      * Enable the proxy to keep connections persistent in the HTTPS case.
      
        Basicly the persistence is created by keeping the conn_rec structure
        created for our backend connection (whether http or https) in the connection
        pool. This required to adjust scoreboard.c in a way that its functions can
        properly deal with a NULL scoreboard handle by ignoring the call or returning
        an error code.
      
      * Use a separate subpool to manage the data for the socket and the connection
        member of the proxy_conn_rec struct as we destroy this data more frequently
        than other data in the proxy_conn_rec struct like hostname and addr (at least
        in the case where we have keepalive connections that timed out and were
        closed by the backend).
        This fixes a memory leak with short lived and broken connections.
      
      * Fix another memory leak related to PR 44026. Now that we keep the connection
        data structure alive in the reslist, the live time of c->pool is too long.
        r->pool has the correct live time since rp dies before r.
      
      * Do not register connection_cleanup as cleanup for the conn->pool. In the past
        it was needed to register connection_cleanup as a cleanup for the frontend
        connection memory pool (c->pool) to ensure that connection returns into the
        connection pool if the memory pool of the frontend connection memory pool
        gets destroyed / cleared. Now we ensure explicitly the connection returns
        to the connection pool once we finished handling the request.
      
      * Tag the pools appropriately to ease memory debugging.
      
      * Only sent a flush bucket down the chain if buckets where sent down the chain
        before that could still be buffered in the network filter. This is the case
        if we have sent an EOS bucket or if we actually sent buckets with
        data down the chain. In all other cases we either have not sent any
        buckets at all down the chain or we only sent meta buckets that are
        not EOS buckets down the chain. The only meta bucket that remains in
        this case is the flush bucket which would have removed all possibly
        buffered buckets in the network filter.
        If we sent a flush bucket in the case where not ANY buckets were
        sent down the chain, we break error handling which happens AFTER us.
      
      * Using the reslist pool for the proxy_conn_rec structure introduces a memory
        leak when connections get created and destroyed frequently by the reslist
        (e.g.  destroying idle elements of the reslist). So use the subpool
        dedicated for the proxy_conn_rec structure to allocate the memory for the
        structure itself.
      
      PR: 44026, 44543
      Submitted by: rpluem
      Reviewed by: jim, rpluem, fielding
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@657440 13f79535-47bb-0310-9956-ffa450edef68
      463e509c
    • Roy T. Fielding's avatar
      vote and promote · bc7b01b7
      Roy T. Fielding authored
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@657257 13f79535-47bb-0310-9956-ffa450edef68
      bc7b01b7
    • Roy T. Fielding's avatar
      note release date · d91939c8
      Roy T. Fielding authored
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@657255 13f79535-47bb-0310-9956-ffa450edef68
      d91939c8
  8. May 16, 2008