httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexei Kosut <ako...@hyperreal.com>
Subject cvs commit: apache/src http_protocol.c
Date Wed, 07 Aug 1996 00:36:03 GMT
akosut      96/08/06 17:36:03

  Modified:    src       http_protocol.c
  Log:
  Apache shouldn't send Via.
  
  Revision  Changes    Path
  1.32      +0 -7      apache/src/http_protocol.c
  
  Index: http_protocol.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/http_protocol.c,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -C3 -r1.31 -r1.32
  *** http_protocol.c	1996/07/29 22:53:51	1.31
  --- http_protocol.c	1996/08/07 00:36:01	1.32
  ***************
  *** 964,976 ****
        if (r->content_language)
            bvputs(fd,"Content-Language: ", r->content_language, "\015\012", NULL);
    
  -     /* If it's a TRACE, or if they sent us Via:, send one back */
  -     if ((r->method_number == M_TRACE) || table_get(r->headers_in, "Via"))
  -         bvputs(fd, "Via: ",
  - 	SERVER_PROTOCOL + (!strncmp(SERVER_PROTOCOL, "HTTP/", 5) ? 5 : 0), " ",
  - 	construct_server(r->pool, r->server->server_hostname, r->server->port),
  - 	       " (", SERVER_VERSION, ")\015\012", NULL);
  -     
        /* We now worry about this here */
    
        if (r->no_cache && (r->proto_num >= 1001))
  --- 964,969 ----
  
  
  

Mime
View raw message