Subject: Re: [PATCH] Timeout support for blocking API

Re: [PATCH] Timeout support for blocking API

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 14 Jun 2010 15:34:30 +0200 (CEST)

On Mon, 14 Jun 2010, Daniel Stenberg wrote:

> In your patch, it becomes the longest time select() will ever wait for
> action, but is that really the time a user wants to specify? Won't a user
> rather want to specify the longest time a particular libssh2 function is
> allowed to wait or similar?

BTW, to further this discussion I've adapted Jan's work against current git to
show the current state of the work.

The timeout is in this case simply "the maximum time libssh2 will ever wait
for data on the socket".

I'll appreciate further thoughts and opinions.

-- 
  / daniel.haxx.se


_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Received on 2010-06-14