httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Noordhuis <i...@bnoordhuis.nl>
Subject Re: Socket transfer from Apache httpd to a non-httpd process
Date Thu, 16 Jun 2011 11:44:01 GMT
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