hpcloud/tail

Add a context for cancellation?

cresny opened this issue · 0 comments

I'm using this to tail across the wire and need to cancel when the client disconnects. Tail is stuck in sendLine (tail.go line 418), could use a context.Context here as I'm now piling up stuck goroutines. Thoughts?