Subject: AGS BOSH behind a PROXY !!
When using AGS BOSH behind a proxy that requires authentication.
AGS does not (may be I am wrong) detect the current user session and send it to the proxy.
An inmmediate workaround is to add the following method to the BoshClientSocket class
private WebRequest CreateWebrequest(String address) {
WebRequest webReq = WebRequest.Create(address);
if (webReq.Proxy != null) {
webReq.Proxy.Credentials = CredentialCache.DefaultNetworkCredentials;
}
return webReq;
}
AGS does not (may be I am wrong) detect the current user session and send it to the proxy.
An inmmediate workaround is to add the following method to the BoshClientSocket class
private WebRequest CreateWebrequest(String address) {
WebRequest webReq = WebRequest.Create(address);
if (webReq.Proxy != null) {
webReq.Proxy.Credentials = CredentialCache.DefaultNetworkCredentials;
}
return webReq;
}
zys
Show profile
Link to this post
