Skip to content

Potential goroutine leak in server.go #930

@hhheiaenia

Description

@hhheiaenia

I found that the ctx.Done() in L125 cannot be guaranteed to receive the cancel signal in https://github.com/fabiolb/fabio/blob/master/proxy/tcp/server.go, for the invocation in https://github.com/fabiolb/fabio/blob/master/proxy/inetaf_tcpproxy.go#L91 doesn't invoke the cancelFunc of this context.

I am not sure what I said is right. So I am looking forward to your reply.

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