1. 04 Mar, 2008 5 commits
  2. 03 Mar, 2008 2 commits
  3. 02 Mar, 2008 3 commits
  4. 01 Mar, 2008 4 commits
  5. 29 Feb, 2008 2 commits
  6. 27 Feb, 2008 2 commits
  7. 26 Feb, 2008 7 commits
  8. 25 Feb, 2008 9 commits
  9. 23 Feb, 2008 1 commit
  10. 22 Feb, 2008 5 commits
    • Ruediger Pluem's avatar
      * Add hint to PR in comment. No functional change. · 36ab9018
      Ruediger Pluem authored
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@630350 13f79535-47bb-0310-9956-ffa450edef68
      36ab9018
    • Ruediger Pluem's avatar
      * Second part of fix for PR 44402: · 7b44f2dd
      Ruediger Pluem authored
        - Fix the same race condition in event MPM.
        - Slightly optimize code in worker MPM by removing the need for an additional
          dereference operation.
        - Do some word smithing on the CHANGES entry.
      
      PR: 44402
      Submitted by: Basant Kumar Kukreja <basant.kukreja sun.com>
      Reviewed by: rpluem
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@630348 13f79535-47bb-0310-9956-ffa450edef68
      7b44f2dd
    • Nick Kew's avatar
      Worker MPM: fix race condition · 11ebf458
      Nick Kew authored
      PR44402: reported and fixed by Basant Kumar Kukreja
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@630335 13f79535-47bb-0310-9956-ffa450edef68
      11ebf458
    • Joe Orton's avatar
      Session cache interface redesign, Part 3: · d3e1af8b
      Joe Orton authored
      Move provider-private context out of SSLModConfigRec and into an
      opaque context pointer.  Use real error propagation in the ->init
      functions rather than ssl_die().
      
      * modules/ssl/ssl_private.h (modssl_sesscache_provider): Take a
        context out-parameter from ->init, and return an apr_status_t.
        Add context pointer as first arg for the other function types.
        (SSLModConfigRec): Remove tSessionCacheData* fields; add
        sesscache_context field.
      
      * modules/ssl/ssl_scache.c (ssl_scache_init): Move once-per-process
        invocation check back into here.  
        (ssl_scache_*): Adjust to use context pointer.
      
      * modules/ssl/ssl_scache_shmcb.c, modules/ssl/ssl_scache_dc.c,
        modules/ssl/ssl_scache_dbm.c: Adjust all implementations to use
        opaque context pointer.
      
      * modules/ssl/ssl_scache_memcache.c: Move memcache context into the
        context structure rather than using global state.
      
      * modules/ssl/ssl_engine_config.c: Remove handling of
        pSessionCacheData* fields in SSLModConfigRec.
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@630323 13f79535-47bb-0310-9956-ffa450edef68
      d3e1af8b
    • Joe Orton's avatar
      Move SSL session data deserialization up out of the session cache · c55b84c7
      Joe Orton authored
      storage providers; includes a significant change to the shmcb storage
      structure:
      
      * modules/ssl/ssl_private.h (modssl_sesscache_provider): Change
        retrieve function to take dest/destlen output buffer, to take a
        constant id paramater, and to return a BOOL.
      
      * modules/ssl/ssl_scache.c (ssl_scache_retrieve): Update accordingly,
        perform SSL deserialization here.
      
      * modules/ssl/ssl_scache_dc.c (ssl_scache_dc_retrieve),
        modules/ssl/ssl_scache_dbm.c (ssl_scache_dbm_retrieve),
        modules/ssl/ssl_scache_memcache.c (ssl_scache_mc_retrieve):
        Update accordingly.
      
      * modules/ssl/ssl_scache_shmcb.c: Store the whole ID in the cache
        before the data, so that each index can be compared against the
        requested ID without deserializing the data.  This requires approx
        20% extra storage per session in the common case, though should
        reduce CPU overhead in some retrieval paths.
        (SHMCBIndex): Replace s_id2 field with id_len.
        (shmcb_cyclic_memcmp): New function.
        (ssl_scache_shmcb_init): Change the heuristics to allow for increase
        in per-session storage requirement.
        (ssl_scache_shmcb_retrieve): Drop requirement on ID length.
        (shmcb_subcache_store): Store the ID in the cyclic buffer.
        (shmcb_subcache_retrieve, shmcb_subcache_remove): Compare against
        the stored ID rather than deserializing the data.
        (ssl_scache_shmcb_retrieve, ssl_scache_shmcb_store): Update
        accordingly.
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@630307 13f79535-47bb-0310-9956-ffa450edef68
      c55b84c7