Hi list.

connect() doesn't have timeout. So when server is down, connect() hangs while 1 
or 2 minuts. Below is a patch to add timeout query like URL.

  connect("localhost:12345?timeout=3")

https://gist.github.com/mattn/867a635e14ac2360613a

But I'm thinking there is another ways to specify {timeout} like below.


  connect("localhost:12345", {"type": "raw", "timeout": 3})

How do you think?

- mattn

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui