Commit aac9c289 authored by Jeff Trawick's avatar Jeff Trawick
Browse files

get proxy CONNECT to work on EBCDIC machines


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94997 13f79535-47bb-0310-9956-ffa450edef68
parent b86b4197
Loading
Loading
Loading
Loading
+2 −0
Changes for modules/proxy/proxy_connect.c: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -276,9 +276,11 @@ int ap_proxy_connect_handler(request_rec *r, proxy_server_conf *conf,
		     "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