Skip to content

Commit

Permalink
For whatever reason not all socket errors from sbcl are translated by…
Browse files Browse the repository at this point in the history
… usocket.
  • Loading branch information
Shinmera committed Aug 30, 2024
1 parent 6124454 commit cc97ff5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,9 @@
(when (and received (< 0 received))
(return received)))))
(usocket:socket-close socket)))
#+sbcl
(sb-bsd-sockets:socket-error (e)
(values NIL e))
(usocket:socket-error (e)
(values NIL e))))

Expand Down

0 comments on commit cc97ff5

Please sign in to comment.