fabio icon indicating copy to clipboard operation
fabio copied to clipboard

Potential goroutine leak in server.go

Open hhheiaenia opened this issue 1 year ago • 0 comments

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.

hhheiaenia avatar May 24 '23 13:05 hhheiaenia