httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@hyperreal.org
Subject cvs commit: apache-1.3/src/modules/proxy proxy_connect.c
Date Mon, 14 Sep 1998 16:30:45 GMT
martin      98/09/14 09:30:43

  Modified:    src/modules/proxy proxy_connect.c
  Log:
  Using the CONNECT method and an unconfigured port number is not a
  "temporary or maintenance" problem (HTTP_SERVICE_UNAVAILABLE) but
  HTTP_FORBIDDEN!
  
  Revision  Changes    Path
  1.35      +2 -2      apache-1.3/src/modules/proxy/proxy_connect.c
  
  Index: proxy_connect.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/modules/proxy/proxy_connect.c,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- proxy_connect.c	1998/09/14 16:22:28	1.34
  +++ proxy_connect.c	1998/09/14 16:30:42	1.35
  @@ -159,10 +159,10 @@
   	    case DEFAULT_SNEWS_PORT:
   		break;
   	    default:
  -		return HTTP_SERVICE_UNAVAILABLE;
  +		return HTTP_FORBIDDEN;
   	}
       } else if(!allowed_port(conf, port))
  -	return HTTP_SERVICE_UNAVAILABLE;
  +	return HTTP_FORBIDDEN;
   
       if (proxyhost) {
   	Explain2("CONNECT to remote proxy %s on port %d", proxyhost, proxyport);
  
  
  

Mime
View raw message