Process Golang HTTP requests if client closes the connection or cancel requests

936 Views Asked by At

Problem Statement:

Whenever Customer closes browser or client closes connection , golang mux HTTP handler cancels the requests with context cancelled error.

Expectation: On certain routes if customer closes browser or drops off, we want to process requests and do not want to cancel the request.

0

There are 0 best solutions below