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
I think the ParseDestinationHostAndPort() in AbstractProxyLogic doesn't work as expected ?
lets say I need to parse this url, http://host.com:8080.
So the value of authority for this case will be http://host.com:8080 because this fallsunder the first category and then when you try to extract the host name and port, the authority value is still includes the scheme.
So the scheme should be removed from the authority.
Line 217 should be like this
// case 1
authority = hrl.URI.Substring(prefix);
System.Diagnostics.Debug.Assert(true);
instead of
// case 1
authority = hrl.URI;
System.Diagnostics.Debug.Assert(bIsConnect);
The text was updated successfully, but these errors were encountered:
I think the ParseDestinationHostAndPort() in AbstractProxyLogic doesn't work as expected ?
lets say I need to parse this url, http://host.com:8080.
So the value of authority for this case will be http://host.com:8080 because this fallsunder the first category and then when you try to extract the host name and port, the authority value is still includes the scheme.
So the scheme should be removed from the authority.
Line 217 should be like this
// case 1
authority = hrl.URI.Substring(prefix);
System.Diagnostics.Debug.Assert(true);
instead of
// case 1
authority = hrl.URI;
System.Diagnostics.Debug.Assert(bIsConnect);
The text was updated successfully, but these errors were encountered: