You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that using roundrobin in a way that is similar to the example in README does not work correctly -- or at least it does not work the way I expect it to.
Ok, I found out that forward uses RequestURI to replace url.Opaque, but in this case the RequestURI should contain also the host, which is not the case, so I still don't understand how this is supposed to work considering the following:
"RequestURI is the unmodified Request-URI of the Request-Line (RFC 2616, Section 5.1) as sent by the client".
Additionally, URL.String() ends up with scheme:opaque?query#fragment.
Activity
mikaelnousiainen commentedon Apr 4, 2016
Ok, I found out that forward uses RequestURI to replace url.Opaque, but in this case the RequestURI should contain also the host, which is not the case, so I still don't understand how this is supposed to work considering the following:
"RequestURI is the unmodified Request-URI of the Request-Line (RFC 2616, Section 5.1) as sent by the client".
Additionally, URL.String() ends up with scheme:opaque?query#fragment.
lunemec commentedon Jan 19, 2017
This is dupliacte with #57. This issue was first, but the #57 has some proposed solutions. This should be closed as dupliacte and solved there.