URLStream timeout problem

View: New views
1 Messages — Rating Filter:   Alert me  

URLStream timeout problem

by Vincent Chen-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

_______________________________________________
Bug-commoncpp mailing list
Bug-commoncpp@...
http://lists.gnu.org/mailman/listinfo/bug-commoncpp