Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow parsing remote address headers over unix sockets
When listening to a unix socket there is no RemoteAddr for http.Request. Instead of setting nil, Go sets it to '@'. Marking the IP as trusted if RemoteAddr allows rest of the settings for parsing remote address in headers to be applied. Signed-off-by: Josef Johansson <[email protected]>
- Loading branch information