You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Vladi Modilevsky <vm...@nullvoid.com> on 1999/01/30 22:41:19 UTC
mod_proxy/3801: Using proxy tunneling fails (tested with port 443)
>Number: 3801
>Category: mod_proxy
>Synopsis: Using proxy tunneling fails (tested with port 443)
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: apache
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Sat Jan 30 13:50:01 PST 1999
>Last-Modified:
>Originator: vmodilev@nullvoid.com
>Organization:
apache
>Release: 1.3.4
>Environment:
WIN32-paltform(nt-4.0 sp4)
>Description:
ssl layer fails to communicate
>How-To-Repeat:
run current release on WIN32 paltform, turn on proxy and try to access ssl layer
>Fix:
change read() and write() api in proxy_connect.c
to recv() and send() (another MickeySoft's innovative contribution to the world)
Extract:
if (i) {
if (FD_ISSET(sock, &fds)) {
Explain0("sock was set");
#if defined(WIN32)
if ((nbytes = recv(sock, buffer, HUGE_STRING_LEN, 0)) != 0) {
#else
if ((nbytes = read(sock, buffer, HUGE_STRING_LEN)) != 0) {
#endif
if (nbytes == -1)
break;
#if defined(WIN32)
if (send(r->connection->client->fd, buffer, nbytes, 0) == EOF)
#else
if (write(r->connection->client->fd, buffer, nbytes) == EOF)
#endif
break;
*******************************************************************************
i fixed the rest of the problem areas i found, tell me how to get it to whomever wants it.
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED. This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request ]
[from a developer. ]
[Reply only with text; DO NOT SEND ATTACHMENTS! ]
Re: mod_proxy/3801: Using proxy tunneling fails (tested with
port 443)
Posted by Vladi Modilevsky <vm...@nullvoid.com>.
At 09:50 PM 1/30/99 -0000, you wrote:
>Thank you very much for your problem report.
>It has the internal identification `mod_proxy/3801'.
>The individual assigned to look at your
>report is: apache.
>
>>Category: mod_proxy
>>Responsible: apache
>>Synopsis: Using proxy tunneling fails (tested with port 443)
>>Arrival-Date: Sat Jan 30 13:50:01 PST 1999
>
>
i'm including the fix,
thank you.
vmodilev@nullvoid.com