Brian Tiger Chow
ed4a8eb782
chore(tests) add Short() -> SkipNow() to slowest tests
...
vanilla:
21.57 real 45.14 user 8.51 sys
short:
14.40 real 31.13 user 5.56 sys
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-15 02:10:53 -08:00
Juan Batiz-Benet
1bde67ddf1
bugfix: swarm resolveUnspecAddr idiocy
2014-11-09 19:45:28 -08:00
Jeromy
be5d01b6a6
more doc comments
2014-11-08 22:44:37 -08:00
Jeromy
c62acb2763
copy handshake readme into a doc.go for pretty godoc results
2014-11-08 21:42:37 -08:00
Jeromy
b0f4b7c89d
some net docs
2014-11-08 21:42:36 -08:00
Jeromy
8c20921a95
some more docs
2014-11-08 21:42:36 -08:00
Jeromy
36a4ee7087
prevent NAT check if given nil multiaddr
2014-11-08 12:24:17 -08:00
Brian Tiger Chow
390f4d7419
readability(util) Do -> ContextDo
...
@jbenet
2014-11-05 10:07:16 -08:00
Brian Tiger Chow
68618f3fb8
fix(net) use Do to respect the caller's context
2014-11-05 10:04:20 -08:00
Brian Tiger Chow
23096de3c4
fix(net) pass contexts to dial peer
2014-11-05 10:04:20 -08:00
Juan Batiz-Benet
3bc2281c51
fixed race in multiconn
2014-11-05 09:44:51 -08:00
Juan Batiz-Benet
65f95a1940
mux test race #270
2014-11-05 09:26:17 -08:00
Juan Batiz-Benet
d26fd58182
ctx closer races #270
2014-11-05 09:26:17 -08:00
Juan Batiz-Benet
40aea2a934
handshake: log whether new addr observed
2014-11-05 04:05:30 -08:00
Juan Batiz-Benet
4989dcafed
swarm + handshake: better observed addr check
...
The check needed knowledge of the _listen_ addresses,
not just the interface addresses. Also, the handshake now
sends out all the addresses we accumulate about ourselves.
(this may be bad in the long run, but useful now to test)
2014-11-05 04:01:38 -08:00
Juan Batiz-Benet
0135e3ebbe
swarm + net: add explicit listen addresses
2014-11-05 04:00:49 -08:00
Juan Batiz-Benet
24f319b549
Merge pull request #268 from jbenet/config-version-init
...
Initialize Config Version
2014-11-04 19:18:45 -08:00
Juan Batiz-Benet
866c2c8915
updates + config: moved location of current version number
2014-11-04 18:58:15 -08:00
Brian Tiger Chow
98ebe2f3ec
hotfix(vendor)
2014-11-04 08:48:27 -08:00
Juan Batiz-Benet
d303ff45f8
Merge pull request #253 from jbenet/net-detect
...
NAT detect
2014-11-03 16:53:09 -08:00
Jeromy
3e62042745
fix up NAT check and clear up naming
2014-11-03 15:10:44 -08:00
Jeromy
05817373d0
Clear up naming around zero address
2014-11-03 20:42:40 +00:00
Jeromy
88bf39118c
comment comment comment comment
2014-11-03 03:02:56 +00:00
Jeromy
402fdd2db9
changes from PR
2014-11-03 01:45:45 +00:00
Jeromy
094baf6fbf
error out if attempting connection to loopback
2014-11-03 00:28:07 +00:00
Jeromy
cb2fb9cfe6
print NAT if detected
2014-11-02 21:59:59 +00:00
Jeromy
2eac5aeec6
begin code for NAT detection
2014-11-02 21:19:22 +00:00
Jeromy
98f56ab7e2
remove sha1 from hmac hash suite options
2014-11-01 16:07:56 -07:00
Jeromy
a8069024e9
cut down on allocations
2014-11-01 16:07:56 -07:00
Jeromy
027920540f
more memory tweaks
2014-11-01 16:07:56 -07:00
Jeromy
9b1c99e9aa
shrink msgio buffer size to decrease memory pressure
2014-11-01 16:07:56 -07:00
Jeromy
f89cfc1108
moved pipes package
2014-11-01 16:07:56 -07:00
Jeromy
07733b17b3
msgio pooling first hack
2014-11-01 16:07:56 -07:00
Jeromy
ffc59fff1b
add blowfish code and refactor pipes and duplex a little
2014-11-01 16:07:56 -07:00
Brian Tiger Chow
cea398b8a7
fix(all) log.Debug -> log.Debugf
2014-10-30 06:35:29 -07:00
Brian Tiger Chow
3323952401
Revert "perf(mux) use RWMutex"
2014-10-27 21:12:03 -07:00
Brian Tiger Chow
ed0556b919
perf(mux) use RWMutex
2014-10-27 20:36:45 -07:00
Juan Batiz-Benet
8cf22c062f
core is now ctxcloser
2014-10-25 21:33:10 -07:00
Juan Batiz-Benet
90b989a718
AddCloserChild + net ctxcloser
2014-10-25 21:33:10 -07:00
Juan Batiz-Benet
f2b8803a57
net/service now uses ctxcloser
2014-10-25 21:33:10 -07:00
Juan Batiz-Benet
93497c2d00
muxer now uses ctxCloser
2014-10-25 21:33:10 -07:00
Jeromy
d92db12460
lots of logging
2014-10-26 00:45:40 +00:00
Jeromy
ab7491f809
logging, logging, and some minor logging
2014-10-25 14:50:22 -07:00
Jeromy
87407a99b9
add context to blockservice Get
2014-10-25 12:38:32 -07:00
Juan Batiz-Benet
184c25430b
go-vet friendly codebase
...
- distinguish log.Error and log.Errorf functions
- Initialize structs with field names
- A bit of unreachable code (defers)
2014-10-25 03:46:39 -07:00
Juan Batiz-Benet
bd5a1c0c0f
Merge pull request #192 from jbenet/dhtfixes
...
dht fixes
2014-10-22 22:20:36 -07:00
Brian Tiger Chow
4d81560dd8
fix(net/service/pb) rename proto package -> service_pb
2014-10-22 15:54:18 -07:00
Brian Tiger Chow
81367a864e
fix(net/mux/pb) rename proto package -> mux_pb
2014-10-22 15:54:17 -07:00
Brian Tiger Chow
d94e764e4a
refactor(net/service) move proto to internal pb package
2014-10-22 15:54:17 -07:00
Brian Tiger Chow
ec481b5ad4
refactor(net/mux) move proto to internal pb package
2014-10-22 15:54:17 -07:00