healthcheck icon indicating copy to clipboard operation
healthcheck copied to clipboard

use request context in http handler

Open sjiekak opened this issue 2 years ago • 1 comments

The handler uses context.Background() in the http handler. If the client (calling service) drop the connection, the processing will continue till an error occur when the handler tries to write a response.

sjiekak avatar Sep 05 '22 08:09 sjiekak

Makes sense.

Hi @sjiekak, feel free to open a PR to address this.

karthikmuralidharan avatar Dec 13 '23 04:12 karthikmuralidharan