f7c768e437
If the mux listener gets a invalid request, log the IP address of the client to help users track down the issue. Since the listener is started before the services that use it are ready, it can receive requests and block indefinitely waiting for the handler channel to receive. If the channel is blocked, all the channel send to timeout to prevent clients form accruing blocked connnecitons. |
||
---|---|---|
.. | ||
mux.go | ||
mux_test.go |