httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henrik Strand <henrik.str...@axis.com>
Subject Re: Socket transfer from Apache httpd to a non-httpd process
Date Thu, 16 Jun 2011 14:57:14 GMT
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 <henrik.strand@axis.com> 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 able to write to the socket anymore.
> 
> You probably want to dup() the socket fd before passing it to the
> external process.



Mime
View raw message