Open benitogf opened 2 years ago
Is there a way to set timeouts for a specific endpoint without having to change the server global timeouts?
My use case is that I have an upload endpoint that needs a higher read timeout than the rest of the server
Not currently, see this thread here from the Go issue tracker: https://github.com/golang/go/issues/16100
Looks like the linked issue has been merged. Is this possible with Mux now?
Is there a way to set timeouts for a specific endpoint without having to change the server global timeouts?
My use case is that I have an upload endpoint that needs a higher read timeout than the rest of the server