Commit Graph

17 Commits

Author SHA1 Message Date
Juan Batiz-Benet
096958438a fixed fd leaks 2015-01-23 16:16:15 -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
6924153ade back to select 2015-01-22 15:27:54 -08:00
Juan Batiz-Benet
82f6151ac4 wait go style. forget polling 2015-01-22 08:45:48 -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
ce3ba7a903 removing extra logs 2015-01-22 05:19:14 -08:00
Juan Batiz-Benet
7fe6175a16 toned it down. 2015-01-22 03:50:17 -08:00
Juan Batiz-Benet
fa34c52093 connect: try 3x 2015-01-19 16:50:21 -08:00
Juan Batiz-Benet
b11afac096 proper waiting 2015-01-19 16:44:21 -08:00
Juan Batiz-Benet
d718a07df3 nits 2015-01-19 16:04:56 -08:00
Juan Batiz-Benet
ce9cd56d19 disregard eaddrinuse 2015-01-19 02:47:47 -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
4db30cca3c removed logs 2015-01-18 20:15:51 -08:00
Juan Batiz-Benet
9897e7337e initial thing works. needs tests. 2015-01-18 19:42:16 -08:00