bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

URLStream timeout problem


From: Vincent Chen
Subject: URLStream timeout problem
Date: Wed, 2 Sep 2009 23:44:29 +0800

hi,

When I use setTimeout() to URLStream object
it do not performing a non-blocking connect().
Unless I also set TCPStream::timeout be non zero.

in URLStream.hpp line 403
  
inline void setTimeout(timeout_t to)
{
timeout = to;
TCPStream::timeout = to;
};

The timeout value in URLStream seems only workable for readline().
Could you make it non-blocking in the next release?

thanks

reply via email to

[Prev in Thread] Current Thread [Next in Thread]