Hi list.
On Tue, Feb 2, 2016 at 8:38 PM, Bram Moolenaar wrote:
>
> Yasuhiro Matsumoto wrote:
>
>> > > 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
Yasuhiro Matsumoto wrote:
> > > 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/867a635e14ac23606
On Tuesday, February 2, 2016 at 6:35:07 AM UTC+9, Bram Moolenaar wrote:
> Yasuhiro Matsumoto wrote:
>
> > 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
Yasuhiro Matsumoto wrote:
> 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 th
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 {tim