Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Channel abort/kill/destroy #100

Closed
rptl opened this issue May 17, 2013 · 2 comments
Closed

Channel abort/kill/destroy #100

rptl opened this issue May 17, 2013 · 2 comments

Comments

@rptl
Copy link

rptl commented May 17, 2013

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?

@rptl
Copy link
Author

rptl commented May 18, 2013

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?

@mfazekas
Copy link
Collaborator

mfazekas commented Mar 5, 2016

CHannel close was changed in 3.0 if it's still an issue we need log and code to repro

@mfazekas mfazekas closed this as completed Mar 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants