Update connection timeout close-reason to use name instead of number.
This commit is contained in:
parent
b592bd1073
commit
c7c8de32f9
|
@ -623,7 +623,7 @@ static const uint8_t utf8d[] = {
|
||||||
(begin (thread-signal! (websocket-user-thread ws)
|
(begin (thread-signal! (websocket-user-thread ws)
|
||||||
(make-websocket-exception
|
(make-websocket-exception
|
||||||
(make-property-condition 'connection-timeout)))
|
(make-property-condition 'connection-timeout)))
|
||||||
(close-websocket ws close-reason: 1001))))))))
|
(close-websocket ws close-reason: 'going-away))))))))
|
||||||
|
|
||||||
(when (> (ping-interval) 0)
|
(when (> (ping-interval) 0)
|
||||||
(thread-start! ping-thread))
|
(thread-start! ping-thread))
|
||||||
|
|
Loading…
Reference in New Issue