httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bnicho...@apache.org
Subject cvs commit: httpd-2.0/modules/ssl mod_ssl.c
Date Wed, 13 Oct 2004 15:26:45 GMT
bnicholes    2004/10/13 08:26:45

  Modified:    modules/ssl mod_ssl.c
  Log:
  Add a check for SSL_ENABLED_OPTIONAL to the http_method and default_port hook so that they
return the correct values for an upgradeable connection.
  
  Revision  Changes    Path
  1.100     +2 -2      httpd-2.0/modules/ssl/mod_ssl.c
  
  Index: mod_ssl.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/ssl/mod_ssl.c,v
  retrieving revision 1.99
  retrieving revision 1.100
  diff -u -r1.99 -r1.100
  --- mod_ssl.c	3 Jun 2004 15:00:15 -0000	1.99
  +++ mod_ssl.c	13 Oct 2004 15:26:45 -0000	1.100
  @@ -400,7 +400,7 @@
   {
       SSLSrvConfigRec *sc = mySrvConfig(r->server);
   
  -    if (sc->enabled == SSL_ENABLED_FALSE) {
  +    if (sc->enabled == SSL_ENABLED_FALSE || sc->enabled == SSL_ENABLED_OPTIONAL)
{
           return NULL;
       }
   
  @@ -411,7 +411,7 @@
   {
       SSLSrvConfigRec *sc = mySrvConfig(r->server);
   
  -    if (sc->enabled == SSL_ENABLED_FALSE) {
  +    if (sc->enabled == SSL_ENABLED_FALSE || sc->enabled == SSL_ENABLED_OPTIONAL)
{
           return 0;
       }
   
  
  
  

Mime
View raw message