aboutsummaryrefslogtreecommitdiff
path: root/server.c
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-10-02 17:20:56 +0000
committerOmar Polo <op@omarpolo.com>2021-10-02 17:20:56 +0000
commit403c42204182515d7281d8c11084eef596f8a6ee (patch)
tree46fd3095ec5734dd15df7338a036e3cea6e5eec4 /server.c
parentb618111a681d278d0d72fbdb526542bebf8fce02 (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