Skip to content
  1. Nov 06, 2007
    • Joe Orton's avatar
      mod_ssl: Fix forever-broken TLS upgrade support; perform the upgrade · cae41321
      Joe Orton authored
      in the post_read_request hook rather than in a filter, and fix the
      filter insertion issue:
      
      * modules/ssl/ssl_engine_kernel.c (upgrade_connection): New function,
      mostly moved from ssl_io_filter_Upgrade.
      (ssl_hook_ReadReq): Call upgrade_connection to upgrade to TLS if
      required.
      
      * modules/ssl/ssl_engine_io.c (ssl_io_filter_Upgrade): Remove
      function.
      (ssl_io_input_add_filter, ssl_io_filter_init): Take a request_rec
      pointer and pass to ap_add_*_filter to ensure the filter chain
      is modified correctly; remove it from the filter afterwards.
      (ssl_io_filter_register): Drop UPGRADE_FILTER registration.
      
      * modules/ssl/mod_ssl.c (ssl_init_ssl_connection): Take a request_rec
      pointer, pass to ssl_io_filter_init.
      (ssl_hook_pre_connection): Pass NULL request_rec pointer to above.
      (ssl_hook_Insert_Filter): Remove function.
      (ssl_register_hooks): Drop insert_filter hook.
      
      * modules/ssl/ssl_private.h: Update prototypes.
      
      PR: 41231
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@592446 13f79535-47bb-0310-9956-ffa450edef68
      cae41321
  2. Nov 05, 2007
  3. Nov 04, 2007
  4. Nov 02, 2007
  5. Nov 01, 2007
  6. Oct 31, 2007
  7. Oct 30, 2007
  8. Oct 29, 2007
  9. Oct 28, 2007
  10. Oct 27, 2007
  11. Oct 26, 2007
  12. Oct 24, 2007
  13. Oct 23, 2007
  14. Oct 22, 2007
  15. Oct 20, 2007
  16. Oct 19, 2007