Skip to content

Add a context for cancellation? #104

@cresny

Description

@cresny

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions