httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roy Fielding <field...@hyperreal.com>
Subject cvs commit: apache/src http_request.c
Date Fri, 21 Feb 1997 00:22:31 GMT
fielding    97/02/20 16:22:30

  Modified:    src       http_request.c
  Log:
  We do not want TRACE to bypass a proxy request, since the proxy is
  supposed to pass it on following the rules in RFC 2068.  The code
  is currently failing to respond correctly to full-URIs if there is
  no proxy module compiled-in, but that's a different problem.
  
  Revision  Changes    Path
  1.46      +9 -9      apache/src/http_request.c
  
  Index: http_request.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/http_request.c,v
  retrieving revision 1.45
  retrieving revision 1.46
  diff -C3 -r1.45 -r1.46
  *** http_request.c	1997/02/20 23:36:40	1.45
  --- http_request.c	1997/02/21 00:22:29	1.46
  ***************
  *** 870,886 ****
    	return;
        }
    
  -     /* We don't want TRACE to run through the normal handler set,
  -      * we handle it specially.
  -      */
  -     if (r->method_number == M_TRACE) {
  - 	send_http_trace (r);
  - 	finalize_request_protocol (r);
  - 	return;
  -     }
  - 
        if (!r->proxyreq)
        {
    	access_status = unescape_url(r->uri);
    	if (access_status)
    	{
  --- 870,886 ----
    	return;
        }
    
        if (!r->proxyreq)
        {
  +         /* We don't want TRACE to run through the normal handler set,
  +          * we handle it specially.
  +          */
  +         if (r->method_number == M_TRACE) {
  +             send_http_trace(r);
  +             finalize_request_protocol(r);
  +             return;
  +         }
  + 
    	access_status = unescape_url(r->uri);
    	if (access_status)
    	{
  
  
  

Mime
View raw message