diff options
author | Omar Polo <op@omarpolo.com> | 2021-10-02 17:20:56 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-10-02 17:20:56 +0000 |
commit | 403c42204182515d7281d8c11084eef596f8a6ee (patch) | |
tree | 46fd3095ec5734dd15df7338a036e3cea6e5eec4 /server.c | |
parent | b618111a681d278d0d72fbdb526542bebf8fce02 (diff) |
[cgi] switch from pipe(2) to socketpair(2)
We can't use normal pipe(2)s with libevent in some cases. Switch to
socketpair(2), which doesn't have the same problem.
This has the drawback that it doesn't prevent the CGI script from
reading stdout, for instance. (sockets are two-way, pipes only one-way)
Diffstat (limited to 'server.c')
0 files changed, 0 insertions, 0 deletions