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:
parent
c637190203
commit
a0ad8ad16c
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue