Subject: HTTP polling - Unhadled Exception
When you setup connection via proxy (HTTP polling) and the host does not respond on time, the exception is raised, but from code in a separate thread which is not possible to catch in the calling application. Exception is raised from the .NET class WebClient.
at System.Net.HttpWebRequest.GetRequestStream()
at agsXMPP.net.PollClientSocket.PollThread()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
at System.Net.HttpWebRequest.GetRequestStream()
at agsXMPP.net.PollClientSocket.PollThread()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
steelspace
Show profile
Link to this post
