GoLang's ReverseProxy

56 views
Skip to first unread message

Patrik Iselind

unread,
Oct 3, 2019, 2:43:47 AM10/3/19
to golang-nuts
Hi,

I'm using the ReverseProxy from the httputil package and cannot figure out how the director can communicate to the reverse proxy that the director failed to rebuild the request. The result, as I see it, should become an HTTP 500/502 error being returned to the caller and the request not proxied.

Is there anyone here that can see how to communicate that failure? Is this something that should be added to the reverse proxy implementation?

Sincerely,
Patrik
Reply all
Reply to author
Forward
0 new messages