httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: httpd-2.0/modules/proxy proxy_connect.c
Date Tue, 07 May 2002 15:06:32 GMT
trawick     02/05/07 08:06:32

  Modified:    modules/proxy proxy_connect.c
  Log:
  get proxy CONNECT to work on EBCDIC machines
  
  Revision  Changes    Path
  1.58      +2 -0      httpd-2.0/modules/proxy/proxy_connect.c
  
  Index: proxy_connect.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/proxy/proxy_connect.c,v
  retrieving revision 1.57
  retrieving revision 1.58
  diff -u -r1.57 -r1.58
  --- proxy_connect.c	6 May 2002 18:47:22 -0000	1.57
  +++ proxy_connect.c	7 May 2002 15:06:32 -0000	1.58
  @@ -276,9 +276,11 @@
   		     "proxy: CONNECT: Returning 200 OK Status");
           nbytes = apr_snprintf(buffer, sizeof(buffer),
   			      "HTTP/1.0 200 Connection Established" CRLF);
  +        ap_xlate_proto_to_ascii(buffer, nbytes);
           apr_send(client_socket, buffer, &nbytes);
           nbytes = apr_snprintf(buffer, sizeof(buffer),
   			      "Proxy-agent: %s" CRLF CRLF, ap_get_server_version());
  +        ap_xlate_proto_to_ascii(buffer, nbytes);
           apr_send(client_socket, buffer, &nbytes);
   #if 0
           /* This is safer code, but it doesn't work yet.  I'm leaving it 
  
  
  

Mime
View raw message