Home » U++ Library support » U++ MT-multithreading and servers » Httpclient timeout
Httpclient timeout [message #28676] |
Sat, 11 September 2010 14:02 |
mubeta
Messages: 77 Registered: October 2006
|
Member |
|
|
Hi all,
First:
I am trying to get a big size file from remote server, using httpclient. ( 5 MB - 10 MB).
Before to get the complete file, the testing application exit with httpclient error: timed out when receiving server response .
at line 427 of file Web/httpcli.cpp - U++ 2467.
I set the client timeout to 20 seconds, but I don't know, time by time, the Internet speed, so how long the client timeout must be set? (Note that at the server side there is an php file that generate and send the file. I must use chunking?? Will be better ??)
Second:
the timeout of the first problem, can depend from the msecs() function ? In the file Core/Debug.cpp, line 7, msecs look like don't take in account of the overflow of GetTickCount()...
|
|
|
Goto Forum:
Current Time: Fri May 10 01:26:14 CEST 2024
Total time taken to generate the page: 0.03018 seconds
|