Re: Socket transfer from Apache httpd to a non-httpd process

2012-08-01 Thread Henrik Strand
ontext: > http://apache-http-server.18135.n6.nabble.com/Socket-transfer-from-Apache-httpd-to-a-non-httpd-process-tp4829341p4999088.html > Sent from the Apache HTTP Server - Module Writers mailing list archive at > Nabble.com.

Re: Socket transfer from Apache httpd to a non-httpd process

2012-08-01 Thread suyambu
-- View this message in context: http://apache-http-server.18135.n6.nabble.com/Socket-transfer-from-Apache-httpd-to-a-non-httpd-process-tp4829341p4999088.html Sent from the Apache HTTP Server - Module Writers mailing list archive at Nabble.com.

Re: Socket transfer from Apache httpd to a non-httpd process for https connections

2012-01-30 Thread Henrik Strand
Hi Ray, I'm using a slightly modified version of http://httpd.apache.org/docs/2.3/mod/mod_proxy_fdpass.html Regards, Henrik On Fri, 2012-01-20 at 17:12 +0100, Ray Morris wrote: > > I'm using a httpd module that does a socket transfer from the httpd > > process to another non-httpd process that i

Re: Socket transfer from Apache httpd to a non-httpd process for https connections

2012-01-20 Thread Ray Morris
> I'm using a httpd module that does a socket transfer from the httpd > process to another non-httpd process that is running on the same > system. Can you post or send that code or a link to it? -- Ray Morris supp...@bettercgi.com Strongbox - The next generation in site security: http://www.bett

Socket transfer from Apache httpd to a non-httpd process for https connections

2012-01-20 Thread Henrik Strand
Hi, I'm using a httpd module that does a socket transfer from the httpd process to another non-httpd process that is running on the same system. This works but currently only for http connections. I would now like to get it working for https connections as well. My thoughts are that httpd in som

Re: Socket transfer from Apache httpd to a non-httpd process

2011-06-17 Thread Henrik Strand
Hi Eric, Great! Looks like just the thing I'm looking for. Thanks! Best regards, Henrik On Thu, 2011-06-16 at 17:46 +0200, Eric Covener wrote: > On Thu, Jun 16, 2011 at 10:57 AM, Henrik Strand > wrote: > > Hi Ben, > > > > I've tried that but with no success. The problem (i.e., that the > > con

Re: Socket transfer from Apache httpd to a non-httpd process

2011-06-16 Thread Eric Covener
On Thu, Jun 16, 2011 at 10:57 AM, Henrik Strand wrote: > Hi Ben, > > I've tried that but with no success. The problem (i.e., that the > connection is closed) still remains. Check out mod_proxy_fdpass in trunk, which replaces the socket httpd is using and lets the external process "finish" the con

Re: Socket transfer from Apache httpd to a non-httpd process

2011-06-16 Thread Henrik Strand
Hi Ben, I've tried that but with no success. The problem (i.e., that the connection is closed) still remains. Best Regards, Henrik On Thu, 2011-06-16 at 13:44 +0200, Ben Noordhuis wrote: > On Thu, Jun 16, 2011 at 10:32, Henrik Strand wrote: > > I've tried writing data to the socket directly aft

Re: Socket transfer from Apache httpd to a non-httpd process

2011-06-16 Thread Ben Noordhuis
On Thu, Jun 16, 2011 at 10:32, Henrik Strand wrote: > I've tried writing data to the socket directly after my non-httpd daemon > process receives the socket descriptor and this results in that the > client receives this data. However, very shortly afterwards the > connections is closed and I'm not

Re: Socket transfer from Apache httpd to a non-httpd process

2011-06-16 Thread Sorin Manolache
On Thu, Jun 16, 2011 at 10:32, Henrik Strand wrote: > Hi, > > I need to transfer the socket descriptor for a client > connection from the Apache httpd process to a non-httpd process running > on the same system as Apache httpd, thus transferring the server > response responsibility from Apache htt

Socket transfer from Apache httpd to a non-httpd process

2011-06-16 Thread Henrik Strand
Hi, I need to transfer the socket descriptor for a client connection from the Apache httpd process to a non-httpd process running on the same system as Apache httpd, thus transferring the server response responsibility from Apache httpd to the non-httpd process (i.e., the Apache httpd process must