mirror of
https://codeberg.org/cage/tinmop/
synced 2025-01-19 03:00:08 +01:00
- [gemini] using asynchronous timeout instead when opening a socket as the function to open a socket does not respect deadline established with 'sb-sys:with-deadline'.
This commit is contained in:
parent
165bb30688
commit
a300c35c8c
@ -441,7 +441,7 @@
|
||||
(usocket:socket-connect hostname
|
||||
port
|
||||
:element-type '(unsigned-byte 8))))
|
||||
#+sbcl (sb-sys:with-deadline (:seconds +open-socket-response-deadline+)
|
||||
#+sbcl (sb-ext:with-timeout +open-socket-response-deadline+
|
||||
(open-socket (idn:host-unicode->ascii host)))
|
||||
#-sbcl (open-socket (idn:host-unicode->ascii host))))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user