From 9e3ae2c70a4027753b2b9b6568267fac3f668898 Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Tue, 7 May 2002 15:06:32 +0000 Subject: [PATCH] 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 --- modules/proxy/proxy_connect.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/proxy/proxy_connect.c b/modules/proxy/proxy_connect.c index 4888411a28..cbc9d7736c 100644 --- a/modules/proxy/proxy_connect.c +++ b/modules/proxy/proxy_connect.c @@ -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 -- 2.40.0