Ignore ERRNO/CONNABORTED in BIND-LISTEN-ACCEPT-LOOP.
This commit is contained in:
parent
e381d4737e
commit
9db99b091c
|
@ -87,10 +87,13 @@
|
||||||
(bind-socket sock addr)
|
(bind-socket sock addr)
|
||||||
(listen-socket sock 5)
|
(listen-socket sock 5)
|
||||||
(let loop ()
|
(let loop ()
|
||||||
|
(with-errno-handler
|
||||||
|
;; ECONNABORTED we just ignore
|
||||||
|
((errno packet) ((errno/connaborted) (loop)))
|
||||||
(call-with-values
|
(call-with-values
|
||||||
(lambda () (accept-connection sock))
|
(lambda () (accept-connection sock))
|
||||||
proc)
|
proc)
|
||||||
(loop))))
|
(loop)))))
|
||||||
|
|
||||||
;;;-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|
;;;-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|
||||||
;;; Socket Record Structure
|
;;; Socket Record Structure
|
||||||
|
|
Loading…
Reference in New Issue