httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Lazic <>
Subject 1st attempt to solve with proxy_connect.c (was: Bug 19188)
Date Thu, 17 Nov 2005 23:55:13 GMT

On Mit 16.11.2005 19:09, Alexander Lazic wrote:
>@Joe Orton: do you have a patch for mod_proxy_connect?

as joe suggested i have start to implement the connect call with

I have attached my first attempt, but it always segfaults :-(, fyi i
have try to add as little as necessary to the code.

I have 2 major problems:

1.) when i want to add a parameter to
    proxy_connect.c:ap_proxy_http_handler() i get a
    warning at proxy_connect.c:proxy_hook_scheme_handler(). I have want
    to add a flag to see if the function was called from

2.) i think i use the pools in some wrong way?!

I don't know if i am on the right way. We need these fuction and it
would be nice that the mod_proxy talk 'in the right way' with the
upstream proxies for https_calls in http-context.

Thanx for all who wan't and can help, btw. here the backtrace from the

#0  0xb7ca6421 in __read_nocancel () from /lib/tls/
(gdb) bt
#0  0xb7ca6421 in __read_nocancel () from /lib/tls/
#1  0x080ac2b7 in ap_mpm_pod_check (pod=0xfffffe00) at pod.c:54
#2  0x080aa563 in child_main (child_num_arg=Variable "child_num_arg" is
not available.) at worker.c:1195
#3  0x080aa6d0 in make_child (s=0x80fc850, slot=0) at worker.c:1278
#4  0x080aa77b in startup_children (number_to_start=2) at worker.c:1312
#5  0x080ab1ac in ap_mpm_run (_pconf=0x80f70a8, plog=0x81351a0,
s=0x80fc850) at worker.c:1661
#6  0x080b15ce in main (argc=3, argv=0xbfa0c624) at main.c:618



View raw message