Skip to content
  1. Mar 07, 2008
  2. Mar 06, 2008
  3. Mar 05, 2008
  4. Mar 04, 2008
  5. Mar 03, 2008
  6. Mar 02, 2008
  7. Mar 01, 2008
  8. Feb 29, 2008
  9. Feb 27, 2008
  10. Feb 26, 2008
  11. Feb 25, 2008
    • Joe Orton's avatar
      * modules/ssl/ssl_scache_dbm.c (ssl_scache_dbm_remove): Use and clear · 391cd73f
      Joe Orton authored
        the temporary pool from the context.  (missed in r630974)
      
      Found by: rpluem
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@631006 13f79535-47bb-0310-9956-ffa450edef68
      391cd73f
    • Joe Orton's avatar
      Session cache interface redesign, Part 5: · 5964cb18
      Joe Orton authored
      Use the ap_provider interface for session cache storage providers.
      
      * modules/ssl/mod_ssl.c (modssl_register_scache): New function.
        (ssl_register_hooks): Call it.
      
      * modules/ssl/ssl_private.h: Define MODSSL_SESSCACHE_PROVIDER_GROUP
        and MODSSL_SESSCACHE_PROVIDER_VERSION constants.
        Remove ssl_scmode_t type.  Change nSessionCacheMode in
        SSLModConfigRec into a long sesscache_mode, storing the OpenSSL
        SSL_SESS_CACHE_* flags directly.
      
      * modules/ssl/ssl_engine_config.c (ssl_config_global_create): Set
        sesscache_mode to SSL_SESS_CACHE_OFF by default.
        (ssl_cmd_SSLSessionCache): Remove ifdef spaghetti; fetch configured
        session cache by provider name.  Set mc->sesscache_mode for
        configured providers.
      
      * modules/ssl/ssl_engine_init.c (ssl_init_ctx_session_cache): Use the
        configured mode flags directly from mc->sesscache_mode.
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@631000 13f79535-47bb-0310-9956-ffa450edef68
      5964cb18
    • Joe Orton's avatar
      * modules/ssl/ssl_scache_dbm.c (ssl_scache_dbm_create): Fix for · fe1560ec
      Joe Orton authored
        r630974; create the subpool.
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@630990 13f79535-47bb-0310-9956-ffa450edef68
      fe1560ec
    • Joe Orton's avatar
      Session cache interface redesign, Part 4: · dcc70e4b
      Joe Orton authored
      Move provider-specific configuration handling down into the provider
      code.  Eliminate all use of SSLModConfigRec within provider code.
      
      * modules/ssl/ssl_private.h (modssl_sesscache_provider): Add 'create'
        function which creates and configures the cache provider, before
        initialisation.  Change 'init' function to take the context pointer
        as an input parameter, and reorder to be first.
      
      * modules/ssl/ssl_scache.c (ssl_scache_init): Adjust accordingly.
      
      * modules/ssl/ssl_scache_memcache.c (struct context): Add servers
        field.
        (ssl_scache_mc_create): New function.
        (ssl_scache_mc_init): Use servers from context not SSLModConfigRec.
      
      * modules/ssl/ssl_scache_dbm.c (struct context): Define.
        (ssl_scache_dbm_create): New function.
        (ssl_scache_dbm_init, ssl_scache_dbm_kill): Adjust to use filename
        and pool from context.
        (ssl_scache_dbm_store, ssl_scache_dbm_retrieve,
        ssl_scache_dbm_status): Use filename from context.  Use context pool
        for temp storage of the DBM object, and clear before use.
        (ssl_scache_dbm_expire): Remove static tLast; use last_expiry from
        context.  Use context pool for temp storage and clear before use.
      
      * modules/ssl/ssl_scache_dc.c (struct context): Add target field.
        (ssl_scache_dc_init, ssl_scache_dc_status): Use target from context.
      
      * modules/ssl/ssl_scache_shmcb.c (struct context): Add data_file,
        shm_size fields.
        (ssl_scache_shmcb_create): New function; moved argument parsing
        logic from ssl_cmd_SSLSessionCache
        (ssl_scache_shmcb_init, ssl_scache_shmcb_status): Use config from
        context.
      
      * modules/ssl/ssl_engine_config.c (ssl_config_global_create): Remove
        handling of old provider-specific fields.
        (ssl_cmd_SSLSessionCache): Call provider ->create function to parse
        the argument and create provider-specific context structure.
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@630974 13f79535-47bb-0310-9956-ffa450edef68
      dcc70e4b
    • Joe Orton's avatar
      * modules/ssl/ssl_engine_init.c (ssl_init_FindCAList): Cast return · 27c24cf2
      Joe Orton authored
      value of sk_X509_NAME_set_cmp_func to void, to avoid warnings with
      recent version of OpenSSL.
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@630858 13f79535-47bb-0310-9956-ffa450edef68
      27c24cf2
    • Joe Orton's avatar
      * modules/ssl/ssl_scache.c (ssl_scache_init): Reformat · af6c1e58
      Joe Orton authored
      code and update the comment.   No functional change.
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@630805 13f79535-47bb-0310-9956-ffa450edef68
      af6c1e58