Use send-feedback
This commit is contained in:
parent
f59bec0145
commit
7838272680
|
@ -723,15 +723,13 @@
|
||||||
conn)
|
conn)
|
||||||
(channel-roles cname
|
(channel-roles cname
|
||||||
(lambda (inbound-stream outbound-stream)
|
(lambda (inbound-stream outbound-stream)
|
||||||
(list (send-message
|
(list (send-feedback
|
||||||
(channel-message outbound-stream
|
(channel-message outbound-stream
|
||||||
(channel-stream-config maximum-packet-size
|
(channel-stream-config maximum-packet-size
|
||||||
extra-request-data))
|
extra-request-data)))
|
||||||
'subscriber)
|
(send-feedback
|
||||||
(send-message
|
|
||||||
(channel-message outbound-stream
|
(channel-message outbound-stream
|
||||||
(channel-stream-credit initial-window-size))
|
(channel-stream-credit initial-window-size))))))))
|
||||||
'subscriber))))))
|
|
||||||
|
|
||||||
(define (handle-msg-channel-open-confirmation packet message conn)
|
(define (handle-msg-channel-open-confirmation packet message conn)
|
||||||
(match-define (ssh-msg-channel-open-confirmation local-ref
|
(match-define (ssh-msg-channel-open-confirmation local-ref
|
||||||
|
@ -749,13 +747,11 @@
|
||||||
[remote-ref remote-ref]
|
[remote-ref remote-ref]
|
||||||
[outbound-packet-size maximum-packet-size]))
|
[outbound-packet-size maximum-packet-size]))
|
||||||
conn)
|
conn)
|
||||||
(send-message (channel-message outbound-stream
|
(send-feedback (channel-message outbound-stream
|
||||||
(channel-stream-config maximum-packet-size
|
(channel-stream-config maximum-packet-size
|
||||||
extra-request-data))
|
extra-request-data)))
|
||||||
'subscriber)
|
(send-feedback (channel-message outbound-stream
|
||||||
(send-message (channel-message outbound-stream
|
(channel-stream-credit initial-window-size)))))
|
||||||
(channel-stream-credit initial-window-size))
|
|
||||||
'subscriber)))
|
|
||||||
|
|
||||||
(define (handle-msg-channel-open-failure packet message conn)
|
(define (handle-msg-channel-open-failure packet message conn)
|
||||||
(match-define (ssh-msg-channel-open-failure local-ref
|
(match-define (ssh-msg-channel-open-failure local-ref
|
||||||
|
|
Loading…
Reference in New Issue