Tree
- Tree:
6a77eb98922ce543cb7a11f04038191c9f840cd2
- Date:
- Message:
- close parent's end of imsg pipe before waiting for a child process to exit Prevents a dead-lock in 'tog log' where tog wants to exit (e.g. because the user pressed Ctrl-C) while a got-read-pack child process wants to send more commits. Closing the parent's pipe descriptor makes writes to the pipe fail in the child process. The child then unwinds via an ERR_EOF error and exits, instead of forever polling its end of the pipe in order to write more data. ok jamsek
Makefile | commits | blame |
Makefile.inc | commits | blame |
files/ | |
gotweb.8 | commits | blame |
gotweb.c | commits | blame |
gotweb.conf.5 | commits | blame |
gotweb.h | commits | blame |
libexec/ | |
parse.y | commits | blame |