It used to send an error response to the client with code 405,  with log 
info like this:
reverseproxy.go:476: http: proxy error: readfrom tcp 
127.0.0.1:35064->127.0.0.1:8006: http: request body too large

but I want to analyze the header and capture "X-Real-IP" of the client so 
as it happens continuously I can just block the IP. 

It used to be a proposal: https://github.com/golang/go/issues/41493

Is it doable now? If so, from what version?

Thanks in advance,
Zhaoxun

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/golang-nuts/81b077d5-7764-4147-9f05-f96e3e319ac2n%40googlegroups.com.

Reply via email to