1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-29 19:30:36 +02:00

http web server impl ignores SIGPIPE

* module/web/server/http.scm (http-open): Ignore SIGPIPE. Keeps the
  server from dying in some circumstances.
This commit is contained in:
Andy Wingo 2010-11-29 13:00:43 +01:00
parent c637190203
commit a0ad8ad16c

View file

@ -44,6 +44,7 @@
(port 8080)
(socket (make-default-socket family addr port)))
(listen socket 5)
(sigaction SIGPIPE SIG_IGN)
socket)
;; -> (keep-alive client request body | keep-alive #f #f #f)