A
amfi
Hi
I have written a client application using WebRequest (HttpWebRequest) with
proxy server. I use it to send some data in XML to server. When the data
size is greater than 400-500 kB this error appears:
"The underlying connection was closed: An unexpected error occurred on a
receive."
StackTrace:" at System.Net.HttpWebRequest.CheckFinalStatus()
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.HttpWebRequest.GetResponse() ..."
Is there any solution to fix it?
Should I set KeepAlive to false?
Amfi
I have written a client application using WebRequest (HttpWebRequest) with
proxy server. I use it to send some data in XML to server. When the data
size is greater than 400-500 kB this error appears:
"The underlying connection was closed: An unexpected error occurred on a
receive."
StackTrace:" at System.Net.HttpWebRequest.CheckFinalStatus()
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.HttpWebRequest.GetResponse() ..."
Is there any solution to fix it?
Should I set KeepAlive to false?
Amfi