Arjun Tomer
Arjun Tomer

Reputation: 29

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

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.

Upvotes: 1

Views: 1192

Answers (0)

Related Questions