komuw / ong

ong, is a Go http toolkit.
MIT License
16 stars 4 forks source link

add Uber/leak detector to the server #11

Open komuw opened 3 years ago

komuw commented 3 years ago

It was already added to the other packages except server in https://github.com/komuw/ong/pull/232

komuw commented 1 year ago

http.Client leaks a goroutine, but for good reason: https://github.com/uber-go/goleak/issues/87

komuw commented 1 year ago

After https://github.com/komuw/ong/pull/232 was merged, what remains here is to enable it for the server; https://github.com/komuw/ong/blob/56846ea816ed6ab864df5a57dd4c47fec37c3bfe/server/server_test.go#L27-L35

I'll re-title this issue to reflect the change.