mirror of
https://github.com/apache/httpd.git
synced 2025-11-06 16:49:32 +03:00
Get proxy CONNECT basically working (IE seems to be happy with secure
connections). The to-do of fixing client I/O so it goes through the filters still remains. But it will be nice if it will work until somebody gets around to doing that. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94971 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
2
CHANGES
2
CHANGES
@@ -1,5 +1,7 @@
|
|||||||
Changes with Apache 2.0.37
|
Changes with Apache 2.0.37
|
||||||
|
|
||||||
|
*) Get proxy CONNECT basically working. [Jeff Trawick]
|
||||||
|
|
||||||
*) Fix mod_rewrite hang when APR uses SysV Semaphores and
|
*) Fix mod_rewrite hang when APR uses SysV Semaphores and
|
||||||
RewriteLogLevel is set to anything other than 0. PR: 8143
|
RewriteLogLevel is set to anything other than 0. PR: 8143
|
||||||
[Aaron Bannert, Cliff Woolley]
|
[Aaron Bannert, Cliff Woolley]
|
||||||
|
|||||||
@@ -279,11 +279,11 @@ int ap_proxy_connect_handler(request_rec *r, proxy_server_conf *conf,
|
|||||||
apr_send(client_socket, buffer, &nbytes);
|
apr_send(client_socket, buffer, &nbytes);
|
||||||
nbytes = apr_snprintf(buffer, sizeof(buffer),
|
nbytes = apr_snprintf(buffer, sizeof(buffer),
|
||||||
"Proxy-agent: %s" CRLF CRLF, ap_get_server_version());
|
"Proxy-agent: %s" CRLF CRLF, ap_get_server_version());
|
||||||
|
apr_send(client_socket, buffer, &nbytes);
|
||||||
#if 0
|
#if 0
|
||||||
/* This is safer code, but it doesn't work yet. I'm leaving it
|
/* This is safer code, but it doesn't work yet. I'm leaving it
|
||||||
* here so that I can fix it later.
|
* here so that I can fix it later.
|
||||||
*/
|
*/
|
||||||
apr_send(r->connection->client_socket, buffer, &nbytes);
|
|
||||||
r->status = HTTP_OK;
|
r->status = HTTP_OK;
|
||||||
r->header_only = 1;
|
r->header_only = 1;
|
||||||
apr_table_set(r->headers_out, "Proxy-agent: %s", ap_get_server_version());
|
apr_table_set(r->headers_out, "Proxy-agent: %s", ap_get_server_version());
|
||||||
|
|||||||
Reference in New Issue
Block a user