Roxen.git
/
server
/
etc
/
modules
/
Roxen.pmod
version
»
Context lines:
10
20
40
80
file
none
3
Roxen.git/server/etc/modules/Roxen.pmod:1:
// This is a roxen pike module. Copyright © 1999 - 2004, Roxen IS. //
-
// $Id: Roxen.pmod,v 1.
205
2006/01/
13
15
:
13
:
05
grubba
Exp $
+
// $Id: Roxen.pmod,v 1.
206
2006/01/
14
03
:
11:
13
mast
Exp $
#include <roxen.h> #include <config.h> #include <version.h> #include <module.h> #include <variables.h> #include <stat.h> #define roxen roxenp() #ifdef HTTP_DEBUG
Roxen.git/server/etc/modules/Roxen.pmod:4443:
//! output from the created process into the debug log. The log data //! is line buffered to avoid mixing output from different processes //! on the same line. //! //! @note //! The standard backend is used to echo the data that arrives on the //! pipe. If it's hung then data that arrives on the pipe won't show //! in the debug log. { Stdio.File read_end = Stdio.File();
-
Stdio.File write_end = read_end->pipe (Stdio.PROP_IPC);
+
Stdio.File write_end = read_end->pipe (Stdio.PROP_IPC
|Stdio.PROP_NONBLOCK
);
if (!write_end) error ("Failed to create pipe: %s\n", strerror (read_end->errno())); return LogPipe (read_end, write_end); }