apple / swift-nio-ssh

SwiftNIO SSH is a programmatic implementation of SSH using SwiftNIO
Apache License 2.0
406 stars 50 forks source link

Avoid sending window update messages if locally closed (#143) #144

Closed gaetanzanella closed 1 year ago

gaetanzanella commented 1 year ago

Motivation:

Currently the library crashes if a window update is required and the connection is closed locally.

Modifications:

Check the connection state before sending a window update message.

Lukasa commented 1 year ago

@swift-server-bot test this please