www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vladi Modilevsky <vmodi...@nullvoid.com>
Subject mod_proxy/3801: Using proxy tunneling fails (tested with port 443)
Date Sat, 30 Jan 1999 21:41:19 GMT

>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
>Originator:     vmodilev@nullvoid.com
>Release:        1.3.4
WIN32-paltform(nt-4.0 sp4)
ssl layer fails to communicate
run current release on WIN32 paltform, turn on proxy and try to access ssl layer
change read() and write() api in proxy_connect.c
to recv() and send() (another MickeySoft's innovative contribution to the world)

if (i) {
    if (FD_ISSET(sock, &fds)) {
	Explain0("sock was set");
#if defined(WIN32)
	if ((nbytes = recv(sock, buffer, HUGE_STRING_LEN, 0)) != 0) {
	if ((nbytes = read(sock, buffer, HUGE_STRING_LEN)) != 0) {
	if (nbytes == -1)
#if defined(WIN32)
	    if (send(r->connection->client->fd, buffer, nbytes, 0) == EOF)
	    if (write(r->connection->client->fd, buffer, nbytes) == EOF)
i fixed the rest of the problem areas i found, tell me how to get it to whomever wants it.
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@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!         ]

View raw message