U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ MT-multithreading and servers » Doubt with timeout in HttpRequest
Re: Doubt with timeout in HttpRequest [message #36381 is a reply to message #36236] Wed, 23 May 2012 15:03 Go to previous messageGo to previous message
koldo is currently offline  koldo
Messages: 3464
Registered: August 2008
Senior Veteran
Hello Mirek

Using WhenWait works:

if ((endTimeout < GetTickCount()) && http.GetContentLength() == 0)
	http.Abort();

However it is not very pretty as Timeout() could be supposed to be the place to set the timeout Smile.


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem with includes in Socket.cpp and Web.h
Next Topic: Set thread priority for linux
Goto Forum:
  


Current Time: Mon Oct 12 02:58:30 GMT+2 2026

Total time taken to generate the page: 0.00891 seconds