You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just need to abort/kill/destroy a channel which is actually receiving data.
channel.close method didn't work. It never closes the channel.
Here is the case: I am streaming data using a channel (tailing -f a file).
This is a webapp, so if user reload his browser, this channel will keep opened on the server, no matter if I close or shutdown! the entire session. I still can see 'my tail' in ps.
I am looking for something pretty much like shutdown! method, but for channel.
Is there any way to accomplish that?
The text was updated successfully, but these errors were encountered:
Ok, I am back to report that I can close channels after requesting pty. Even when my entire session dies I can't see any process running anymore . Is this expected? Channels can be closed by calling chan.close or when session closes/die if pty is requested?
I just need to abort/kill/destroy a channel which is actually receiving data.
channel.close method didn't work. It never closes the channel.
Here is the case: I am streaming data using a channel (tailing -f a file).
This is a webapp, so if user reload his browser, this channel will keep opened on the server, no matter if I close or shutdown! the entire session. I still can see 'my tail' in ps.
I am looking for something pretty much like shutdown! method, but for channel.
Is there any way to accomplish that?
The text was updated successfully, but these errors were encountered: