23 Commits

Author SHA1 Message Date
Marten Seemann
9b33d8f7f9 stop using github.com/pkg/errors 2021-09-20 09:26:43 +01:00
Matt Joiner
a07ef43461 Add badges, fix spello, and test unresolvable dials (#68)
Add badges, fix spello, and test unresolvable dials
2019-01-31 11:35:43 +11:00
Matt Joiner
8e4e73d6b2 Add a test for #7 2019-01-04 12:21:31 +11:00
Matt Joiner
a98b4c904e Fix for hosts that don't have localhost->::1 for IPv6 2019-01-03 12:01:51 +11:00
Matt Joiner
a842bfe37c Skip test when required network domain is not available 2019-01-03 10:11:01 +11:00
Matt Joiner
f46bbb57b1 Make test variable names a little more specific 2019-01-02 18:19:43 +11:00
Matt Joiner
7729dc3568 Switch to new Control interface 2019-01-02 16:14:32 +11:00
Matt Joiner
fb50c9fb70 Reduce file descriptors required for tests (#55)
OSX has a much lower default file descriptor count limit.
2018-12-31 22:39:40 +11:00
Steven Allen
68e8434a45 make the dial self test pass for *any* error.
Apparently, MacOS fails with an "invalid argument" error for self dials.
2018-01-29 12:51:11 -08:00
Steven Allen
484cadd575 test dialing self 2018-01-18 23:58:39 -08:00
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