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.str...@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.