mirror of
https://codeberg.org/cage/tinmop/
synced 2025-01-31 04:24:48 +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
|
(usocket:socket-connect hostname
|
||||||
port
|
port
|
||||||
:element-type '(unsigned-byte 8))))
|
: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)))
|
(open-socket (idn:host-unicode->ascii host)))
|
||||||
#-sbcl (open-socket (idn:host-unicode->ascii host))))
|
#-sbcl (open-socket (idn:host-unicode->ascii host))))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user