E Elrick Member Licensed User May 24, 2008 #1 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.sbp 1.2 KB · Views: 567
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?
agraham Expert Licensed User Longtime User May 24, 2008 #2 Elrick said: Is it really a bug? Click to expand... No. add line "response.close" and the problem goes away.
Elrick said: Is it really a bug? Click to expand... No. add line "response.close" and the problem goes away.
E Elrick Member Licensed User May 24, 2008 #3 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
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 May 24, 2008 #4 Elrick said: But why always after the third time? Click to expand... 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.
Elrick said: But why always after the third time? Click to expand... 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.