HTTP POST error

Elrick

Member
Licensed User
Hello! I've found maybe a bug in http post method (using binary file lib). Attached code raises an error ALWAYS after you send post request for the third time. It occurs only on the device (compilled with "force QVGA" option). Is it really a bug?
 

Attachments

  • 1.sbp
    1.2 KB · Views: 323

Elrick

Member
Licensed User
err... Me, cancel panic:) You know, i tried to find what's wrong about 2 hours... And the problem was because i am forget to do one very important thing... But why always after the third time? Maybe i'm just a bit tired... Sorry, this thread can be deleted. And thanks to agraham for his answer;)
 

agraham

Expert
Licensed User
Longtime User
But why always after the third time?
Response.close deletes a .NET HttpWebResponse object assigned from Response.GetResponse. There doesn't seem to be a limitation on the desktop but, and this is a guess, it looks like the Compact Framework can only support two open HttpWebResponse objects at once.
 
Top