It is expected that outbound connection supply should drop.
This commit is contained in:
parent
1f8b3eeb3f
commit
931c54df6a
|
@ -41,7 +41,11 @@
|
|||
spawn-tcp-listener)
|
||||
(spawn-demand-matcher (advertise (tcp-channel (?! (tcp-handle ?)) (?! (tcp-address ? ?)) ?))
|
||||
(observe (tcp-channel (?! (tcp-handle ?)) (?! (tcp-address ? ?)) ?))
|
||||
spawn-tcp-connection)))
|
||||
spawn-tcp-connection
|
||||
(lambda (local-addr remote-addr)
|
||||
(log-debug "Outbound TCP connection closed: ~v -> ~v"
|
||||
local-addr
|
||||
remote-addr)))))
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;; Listener
|
||||
|
|
|
@ -59,7 +59,11 @@
|
|||
spawn-websocket-listener)
|
||||
(spawn-demand-matcher (advertise outbound-conn-message-pat)
|
||||
(observe outbound-conn-message-pat)
|
||||
spawn-websocket-connection)))
|
||||
spawn-websocket-connection
|
||||
(lambda (local-addr remote-addr)
|
||||
(log-debug "Outbound websocket connection closed: ~v -> ~v"
|
||||
local-addr
|
||||
remote-addr)))))
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;; Listener
|
||||
|
|
Loading…
Reference in New Issue