13 Commits

Author SHA1 Message Date
Jakub Sztandera
0dcec38adf wake up epoll on ctx.Done() 2016-09-29 14:06:52 +02:00
Jeromy
c89f9d3219 skip udp tests because they arent quite right 2016-09-29 14:06:52 +02:00
Jeromy
464e01657e Respect context deadlines 2016-09-29 14:06:52 +02:00
Jeromy
5cf4ab9b06 implement ContextDial, make connect respect context cancellation 2016-09-29 14:06:52 +02:00
Juan Batiz-Benet
096958438a fixed fd leaks 2015-01-23 16:16:15 -08:00
Juan Batiz-Benet
af34712d55 bump time limit up a notch for travis 2015-01-23 01:45:35 -08:00
Juan Batiz-Benet
239bb92218 epoll + kqueue 2015-01-23 01:44:02 -08:00
Juan Batiz-Benet
3b2661f810 large test (+goselect) 2015-01-22 22:12:35 -08:00
Juan Batiz-Benet
971d567d6d ressurect addr polling :(
there's a rare case where dial returns successfully but for some
reason the RemoteAddr is not yet set. We wait here a while until
it is, and if too long passes, we fail. This is horrendous. This
shouldn't take more than a second. See also:
 * https://gist.github.com/jbenet/5c191d698fe9ec58c49d
 * http://cr.yp.to/docs/connect.html
2015-01-22 07:19:41 -08:00
Juan Batiz-Benet
cbfb4121cf implement non-block writes + select 2015-01-22 05:19:58 -08:00
Juan Batiz-Benet
8437d27d99 fixed udp (was totally broken) 2015-01-19 02:42:52 -08:00
Juan Batiz-Benet
eb450c7b6d much simpler resolve 2015-01-18 20:39:30 -08:00
Juan Batiz-Benet
29a40ed1fe test cases 2015-01-18 20:16:06 -08:00