Can ZHANG
ef51fdbe09
Deduplicate addresses of host output
2018-09-07 16:06:16 +08:00
Steven Allen
bb971794b7
disable mdns logging from init
...
(avoids the race condition)
2018-09-02 14:31:46 -07:00
Marten Seemann
0d38750db8
use the new DisableLogging mdns option, don't turn off logging globally
2018-08-31 12:08:18 +07:00
Cole Brown
5a704d2daa
Add Stat to mock net conns and streams
2018-08-27 17:30:51 -07:00
Steven Allen
7d6f9521c2
Merge pull request #380 from libp2p/fix/reset-ping-stream
...
always reset ping streams when done
2018-08-21 05:22:22 +00:00
Steven Allen
6f0dcfa108
Merge pull request #389 from libp2p/fix/mock-streams
...
mock stream fixes
2018-08-16 17:44:22 +00:00
Steven Allen
f0eba35c6e
Merge pull request #388 from libp2p/fix/id-reset
...
reset when we fail in identify
2018-08-16 17:43:59 +00:00
Steven Allen
c83318bf08
Revert "Merge pull request #386 from libp2p/fix/correct-external-addr"
...
This reverts commit aca83b9b63
, reversing
changes made to 86b8929d4d
.
This was is not the correct fix. We already expose these addresses via the
host's AllAddrs method. The real problem is probably that we just don't ever
tell anyone about them (unless we disconnect and reconnect to our nearby DHT
nodes).
We need an address gossip protocol.
2018-08-13 16:52:49 -07:00
Steven Allen
f6ad991bb5
update gogo protobuf
...
and regenerate protobuf files
2018-08-08 18:08:13 -07:00
Steven Allen
784ff9c5a5
fix closing of mock streams in test
2018-08-08 13:37:29 -07:00
Steven Allen
f56473fb01
make sure reset works on half-closed streams
2018-08-08 13:36:01 -07:00
Steven Allen
2e13245085
reset when we fail in identify
2018-08-08 11:48:45 -07:00
Steven Allen
7133f4124f
when we do a nat port mapping, explicitly remember the mapped address
...
related to #383
I won't call this *fixed* yet but it should help.
2018-08-02 14:18:47 -07:00
Steven Allen
72df25af76
always reset ping streams when done
...
Currently, we leak a stream. We could use FullClose but, IMO, it's not worth it.
We might as well just reset and walk away.
2018-07-27 10:54:34 -07:00
Steven Allen
b4428fda58
reduce error to warning and log the error
...
This happens all the time in tests where we intentionally use fake keys for
performance.
Anyways, users probably don't want their logs spammed with errors they can't do
anything about.
2018-06-15 14:27:22 -07:00
Steven Allen
74486ec970
Merge pull request #352 from libp2p/nit/optimize
...
check for connectedness using Connectedness
2018-06-14 18:44:06 +00:00
Łukasz Kurowski
39791b176c
function cannot be formatted as string
2018-06-12 21:39:29 +02:00
Steven Allen
a361bf0394
check for connectedness using Connectedness
...
(counting open connections requires copying)
2018-06-09 10:23:09 -07:00
Steven Allen
1257b87aab
Merge pull request #346 from libp2p/bugs/mock-stream-latency
...
Add test which demonstrates how Mocknet latency works
2018-06-07 04:54:40 +00:00
Erin Swenson-Healey
2f001009f2
loosen tolerance in latency test
2018-06-06 07:49:29 -07:00
Erin Swenson-Healey
bb9d55ac08
add test which demonstrates how Mocknet latency works
2018-06-05 17:35:18 -07:00
Steven Allen
41c6834850
refactor for transport changes
...
Also, make the libp2p constructor fully useful. There should now be no need to
manually construct a swarm/host.
2018-06-04 21:22:24 -07:00
Jakub Sztandera
b6ae1d152a
misc: downgrade a warning to info
...
It is source of most warning noise in Warning channel and we would like
to enable warning channel some time in future by default
2018-03-27 20:46:27 +02:00
Hector Sanjuan
cc1c2af4b7
Update go-detect-race to latest packaged version and location
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-16 11:26:39 +01:00
Łukasz Magiera
498c841eb9
Skip TestMdnsDiscovery
2018-02-14 16:04:14 +01:00
Steven Allen
5f75373b53
make the identify test less racy
2018-01-27 21:14:08 -08:00
Alexey Kholupko
7c7bd31d3e
mDNS discovery starts announcing right away: does not wait for first interval to elapse.
...
Closes #256
2018-01-27 16:32:58 +07:00
Steven Allen
d7c4c0a202
add test for forgetting address records
2018-01-19 22:37:14 -08:00
Steven Allen
ea95a94e78
register identify service netNotify
...
This way, we actually process disconnect notifications (and reduce the lifetime
on peer addr records).
2018-01-19 22:36:33 -08:00
Steven Allen
096a2c8303
fix peerstore apocalypse redux
...
This commit prevents us from repeatedly extending the lifetimes of all observed
addresses if a peer keeps on reconnecting.
It also fixes two race conditions:
1. We may end up processing a disconnect after a re-connect and may
accidentally give the addresses associated with that peer a
RecentlyConnectedAddrTTL instead of a ConnectedAddrTTL.
2. We may end up processing a connect after the associated disconnect storing
the associated peer addresses indefinitely.
2018-01-19 21:52:22 -08:00
Steven Allen
62f92f7e73
always make the host context cancelable
...
There's really no reason to *only* do this if we have relays enabled. Doing it
this way makes `go vet` happier and reduces conditional logic.
2017-11-16 17:34:48 -08:00
Kevin Atkinson
af895a81d5
Fix most "go vet" errors.
2017-11-16 20:05:22 -05:00
Jeromy
85d0247d16
use connmgr interface instead of connmgr directly
2017-10-06 04:39:17 -07:00
Eric Harris-Braun
9d3b90d67e
allow tag to be passed into NewMdnsService
2017-09-24 17:59:28 +02:00
Jakub Sztandera
0bef0c7426
Merge pull request #232 from libp2p/fix/log-message
...
basic_host: fix warning message
2017-09-21 13:27:35 +02:00
vyzo
ecb14089a7
basic_host: fix warning message
2017-09-21 12:10:37 +03:00
Steven Allen
860d278469
make sure to not drop writes on close
...
Before, on close, we:
1. Weren't completing the write.
2. Flushing the buffer without waiting the latency delay.
This fixes that by using two separate channels for close/reset and ignoring the
close channel in deliverOrWait.
2017-09-13 23:05:17 -07:00
Steven Allen
17354d7768
get rid of debugging code
2017-09-13 16:14:45 -07:00
Steven Allen
34421451f5
reset on error in reconnect test
2017-09-13 15:57:12 -07:00
Steven Allen
925ac42502
Reset on error in ping.
2017-09-13 15:50:23 -07:00
Steven Allen
7cdd4bc984
Reset on error in basic_host
2017-09-13 15:49:53 -07:00
Steven Allen
1b9aa7789c
update go-stream-muxer
...
* Fix the tests to work with separate reset/close methods.
* Ensure we interrupt writes on reset.
* Always delay the proper time even if we're sending short messages.
* Copy buffers as we send them. `Write` is not allowed to hang onto buffers. If
we run into performance issues, we can always add a buffer pool.
2017-09-13 15:18:38 -07:00
Lars Gierth
3a57e7080d
Merge pull request #211 from libp2p/fix/notify-tests
...
tests: update test cases to act like go-peerstream 1.7.0
2017-08-07 05:19:53 +02:00
Lars Gierth
e0c5c22dbc
Avoid unneccessary multiaddr resolutions
2017-08-07 05:08:01 +02:00
Lars Gierth
0c23c9684c
Resolve /dns4, /dns6, /dnsaddr multiaddrs
2017-08-07 05:07:58 +02:00
Gurinder Singh
8f9170f6e2
Made the image render inline
2017-08-04 16:27:39 +05:30
vyzo
6be81d34c1
basic_host: take base context as parameter in NewHost
2017-08-02 11:04:59 +03:00
vyzo
fd23cf6fa5
basic_host: add the relay after the host construction is complete
2017-08-02 10:58:28 +03:00
vyzo
7f1ffcbd4e
basic_host: NewHost: don't panic on relay errors, return an error instead
...
The legacy interface stays unchanged with a panic though.
2017-08-01 19:36:09 +03:00
vyzo
3b6d61122f
basic_host: integrate circuit relay as a transport with an option
2017-08-01 19:36:09 +03:00
Steven Allen
112866c35a
tests: update test cases to act like go-peerstream 1.7.0
2017-07-27 14:35:29 -07:00
vyzo
3b2f464171
RoutedHost: use Connect directly in NewStream
2017-07-22 11:55:24 +03:00
vyzo
daaf97b416
RoutedHost: NewStram ensures we have the means to connect to the peer
2017-07-21 13:22:53 +03:00
Jeromy
665234f694
WIP: add ConnManager interface method
2017-07-11 23:20:27 -07:00
Jeromy
dfaa021cd7
gx publish 4.4.1
2017-07-11 16:08:52 -07:00
Enzo Haussecker
e9c24fdc2d
Create interface for NAT manager
2017-06-04 21:33:27 -07:00
Enzo Haussecker
e571f8a3fb
Publicize NAT manager struct
2017-06-03 04:32:47 -07:00
Lars Gierth
f0453a2458
basichost: refactor BasicHost construction
...
There were previously 4 different ways of passing various options
into BasicHost construction.
1. Function parameters to New
2. Option parameters to New
3. Global variables, e.g. NegotiateTimeout
4. Options struct, in the calling code in go-ipfs
This changeset deprecated all of these, and introduces the HostOpts
struct to replace them. It also introduces a new constructor called
NewHost, which accepts a *HostOpts.
The old New constructor continues to work the same way,
but is from now on deprecated too.
2017-05-31 02:30:29 +02:00
Lars Gierth
6cbb93905b
basichost: allow overriding Addrs()
2017-05-30 20:39:08 +02:00
Jakub Sztandera
ed98e37176
Extend time of observation by the factor of ActivationThresh
2017-04-24 20:26:15 +02:00
Jakub Sztandera
955ebe34a7
Fix obsaddr_test compare function
2017-04-24 20:26:15 +02:00
Jakub Sztandera
356f5ab17d
Modify ObservedAddrSet to better detect our active addrs
2017-04-24 20:26:10 +02:00
Lars Gierth
12f881c55a
Remove unused and unfit relay protocol
2017-03-12 03:37:01 +01:00
Jeromy
31557da822
fix multistream import paths
2017-01-10 07:22:30 -08:00
Jeromy
104c97ed57
update go-multistream and use negotiateLazy to allow for readonly streams
2017-01-05 08:10:26 -08:00
Jeromy
26adf7395b
identify: make agent version mutable
2016-12-26 02:52:49 -08:00
Jeromy
f4ea270ccb
use set protos in identify protocol knowledge gathering
2016-11-18 15:09:18 -08:00
Jeromy
f61f242f69
Extract netutil to its own package
2016-11-17 10:58:15 -08:00
Jeromy Johnson
9183b8afcf
Merge pull request #150 from libp2p/feat/negotiate-timeouts
...
add negotiate timeout option to basichost
2016-11-10 17:05:44 -08:00
Jeromy
6bccc8c1f5
fix dial log
2016-11-10 16:01:42 -08:00
Jeromy
4f17a651d1
add negotiate timeout option to basichost
2016-11-10 12:40:38 -08:00
Jeromy
077aae473b
make bandwidth metrics optional
2016-11-09 16:26:19 -08:00
Jeromy
6f804db71e
update dependencies and add deadline methods to streams
2016-11-08 13:11:02 -08:00
Jeromy
232864175d
make sure to always close streams when youre done with them
2016-11-05 15:26:07 -07:00
Jeromy
1bad77c7db
update packages to add support for getStreams
2016-11-03 18:06:26 -07:00
Jeromy
0e7e451d69
extract NAT traversal code to its own lib
2016-10-24 17:18:49 -07:00
Jeromy
7aced371c7
extract libp2p-swarm
2016-10-05 10:34:57 -07:00
Jeromy
70872ff663
update deps
2016-10-04 21:18:07 -07:00
Jeromy
1a53ad77b9
extract host interface
2016-10-04 16:16:24 -07:00
Jeromy
9910e6a7cf
switching to separated conn and interface-conn packages
2016-10-04 15:39:24 -07:00
Jeromy
cea1fe131f
extract net interface and metrics
2016-10-04 13:56:20 -07:00
Jeromy
0f3ffb2d07
extract conn, addr-util, and testutil
2016-10-04 13:03:14 -07:00
Jeromy
1085a07654
extract protocol and maddr-filter
2016-10-03 21:47:08 -07:00
Jeromy
4dd30d824b
switch to using stdlib context package
2016-10-03 11:00:00 -07:00
Jeromy Johnson
87b0e20041
Merge pull request #121 from libp2p/fix/mdns-race
...
update mdns to version with fixed race condition
2016-09-29 17:28:00 -07:00
Jakub Sztandera
4172857109
fix locking issue introduced in 90eeff42fc
2016-09-29 15:32:27 +02:00
Jeromy
5b6ab8c326
update mdns to version with fixed race condition
2016-09-28 17:57:12 -07:00
Jeromy
2eef5a702e
split tcp transports out of the base package
2016-09-25 04:51:27 -07:00
Jeromy Johnson
494ade379b
Merge pull request #115 from libp2p/feat/improve-mdns
...
don't block on DiscoverHandler
2016-09-20 08:08:35 -07:00
Jeromy
e6a5c5c241
don't block on DiscoverHandler
2016-09-20 00:28:58 -07:00
Jeromy
9441754369
swarm: add deadline for connection setup
2016-09-18 03:17:22 -07:00
Jeromy Johnson
4ae3510f1a
Merge pull request #107 from libp2p/feat/better-dialsync
...
Improve swarm dial sync code
2016-09-16 15:12:07 -04:00
Jeromy Johnson
d3f70d185e
Merge pull request #114 from libp2p/feat/context-dial
...
conn/dial: implement contextDial up the stack
2016-09-16 15:11:27 -04:00
Jeromy
d70e1625a8
conn/dial: implement contextDial up the stack
2016-09-15 22:32:51 -07:00
Jakub Sztandera
90eeff42fc
nat: add locks around nat
2016-09-13 13:54:32 +02:00
Jakub Sztandera
b6bfae67a0
nat: split into files
2016-09-13 13:54:32 +02:00
Jakub Sztandera
51ffdf87d4
nat: do not shortcircuit permanent mappings
...
If we use same NAT agent and call for the same permanent mapping
again we get the same mapping, no harm done.
If router dies, we will remap again.
Just pros, no cons.
2016-09-13 13:54:32 +02:00
Jakub Sztandera
a3bf168759
Retry NAT punching without duration on mapping failure
...
Some hardware doesn't support UPnP with durations.
2016-09-13 13:54:32 +02:00
jbenet
aafaf38683
identify: handle case where local peer.ID is empty
2016-09-11 19:05:16 -04:00
jbenet
17d39398e9
identify: tests verify we have public keys
2016-09-11 19:05:16 -04:00
jbenet
83eddcae92
identify: consume public key in message.
...
Make sure to verify that our keys match.
In the rare event they do not, make sure to investigate
what's wrong, and log errors.
2016-09-11 19:05:16 -04:00
jbenet
65273ab3e7
identify: send public key in message
2016-09-11 18:35:51 -04:00
Jeromy
126e150674
swarm: integrate new dialsync code into swarm
2016-09-08 10:37:32 -07:00
Jeromy
e26950ff77
swarm: implement new DialSync manager code
2016-09-08 10:37:15 -07:00
Jeromy
71efb2ccb2
swarm: perform backoff check before taking dialsync lock
2016-09-07 18:48:22 -07:00
Jeromy Johnson
b45c89792d
Merge pull request #104 from libp2p/fix/secio-hs-errs
...
swarm: externalize secio handshake errors
2016-09-06 17:59:53 -04:00
Jeromy
5758d3e652
swarm: externalize secio handshake errors
2016-09-05 14:48:28 -07:00
Jeromy
324aae38f1
swarm: add optimized method for checking connectedness to peer
2016-09-05 13:25:24 -07:00
Jeromy
9a9a8de2c7
don't wrap conns with metrics if bwc is nil
2016-09-04 10:50:07 -07:00
Jeromy
a56440a9c7
swarm: pass in stream muxer on construct
2016-09-04 08:13:36 -07:00
Jeromy
978b186d81
swarm: refactor to make modular construction easier
2016-09-03 10:43:27 -07:00
Jeromy Johnson
40a5c58c00
Merge pull request #53 from libp2p/feat/exp-ws-support
...
add in experimental websocket support
2016-08-26 15:06:50 -07:00
Jeromy
faced1efd2
add note to test failure
2016-08-24 13:03:30 -07:00
Jeromy
b1456b79b6
add in experimental websocket support
2016-08-24 09:42:27 -07:00
Jeromy
0b90707e39
update transport dep and add host test
2016-08-22 20:40:17 -07:00
Jeromy
00fa664611
use peerstore for protocol preferencce storage
2016-08-22 19:03:40 -07:00
Jeromy
f21d06fbf0
update peerstore dep
2016-08-22 18:16:06 -07:00
Jeromy Johnson
287383a75a
sleep before final connectedness check
2016-08-18 11:19:20 -07:00
Jeromy
f74add8a19
swarm: make stream.Protocol() return type protocol.ID
2016-08-18 11:16:01 -07:00
Jeromy
36c66c0e93
host: add wait for handshake in proto preknowledge test
2016-08-18 11:16:01 -07:00
Jeromy
fc64ec9027
host: add tests for protocol preferences in host
2016-08-18 11:16:00 -07:00
Jeromy
e51398525a
host: pre-seed preferred protocols with info from identify
2016-08-18 11:16:00 -07:00
Jeromy
7a3394b1da
host: remember which protocols work for a given peer
2016-08-18 11:16:00 -07:00
Jeromy Johnson
d846840062
Merge pull request #80 from libp2p/lint/fix-some-linting
...
lint: fixed a bunch of issues reported by gometalinter
2016-08-17 16:51:21 -07:00
Jeromy Johnson
3c59725221
Merge pull request #87 from libp2p/cover/swarm
...
p2p/net/swarm: improve code coverage
2016-08-17 16:48:41 -07:00
Jeromy
46eafb52f3
p2p/net/swarm: improve code coverage
2016-08-16 15:04:24 -07:00
Jeromy
de84a41402
identify: log protocols from remote peers in peerstore
2016-08-16 13:22:13 -07:00
Jeromy
6635e3d7f5
p2p/host: expose multistream function matching and add semver func
2016-08-16 13:04:16 -07:00
Jeromy
e90e01708a
lint: fixed a bunch of issues reported by gometalinter
2016-08-10 21:48:23 -07:00
Jeromy
8744e460da
update local import paths to reflect org change
2016-08-10 09:59:14 -07:00
Jeromy
c0e2b930e3
update multistream deps and fix code to work with new changes
2016-08-10 09:48:34 -07:00
John Steidley
5c8093b073
gosimple
2016-07-23 13:24:45 -07:00
Jeromy Johnson
e01a63aed8
Merge pull request #76 from ipfs/feat/expose-backoff
...
expose backoff manager in swarm
2016-07-04 12:14:56 -07:00
Jeromy
45f9b5ae0f
expose backoff manager in swarm
2016-07-03 13:28:06 -07:00
Jakub Sztandera
9f7b0b81b5
Fix logging in id.go
2016-06-27 19:26:33 +02:00
Jeromy
9ccbf103e0
bump agent version to match repo version
2016-06-20 10:57:33 -07:00
Jeromy
eca66a8891
fix minor race condition in nat detection code
2016-06-15 11:07:30 -07:00
Jeromy
51c5f6a063
fix consumption of observed remote addrs
2016-06-01 13:41:25 -07:00
Jeromy Johnson
4a2bc51c29
Merge pull request #38 from ipfs/sketch/dial-redo
...
refactor swarm dialing logic
2016-06-01 11:41:26 -07:00
Jeromy
6dddefe20c
improve comment on temp code
2016-06-01 10:02:26 -07:00
Jeromy
916bc557c3
split peerstore from peer package
2016-05-31 16:24:11 -07:00
Jeromy
9edbb2d932
test cleanup
2016-05-31 09:41:17 -07:00
Jeromy
84d4e76e2f
address CR feedback
2016-05-31 09:41:17 -07:00
Jeromy
b54202e768
refactor locking order structure
2016-05-31 09:41:17 -07:00
Jeromy
b6f19a5591
don't execute cancelled jobs
2016-05-31 09:41:17 -07:00
Jeromy
d899b07f17
Refactor the swarm dialer
2016-05-31 09:41:17 -07:00
Jeromy
f483c47187
don't leak goroutines when pings complete
2016-05-30 12:39:30 -07:00
Jeromy
d7edac0da3
yamux patches to help mitigate hanging issue
2016-05-15 18:58:23 -07:00
Jeromy
6dc5e19c54
close wait channel in all cases, not just success
2016-05-14 23:49:32 -07:00
Jeromy
de1d675417
update muxers, includes yamux deadlock fix
2016-05-13 10:59:16 -07:00
Jeromy
2d0c57e7d3
add env var for overriding muxer prefs
2016-05-05 20:38:17 -07:00
Jeromy Johnson
0436764ffa
Merge pull request #44 from ipfs/fix/dial-read-deadline
...
add a read deadline for the multistream select on dial
2016-04-27 15:52:44 -07:00
Jeromy
b0ad207270
rewrite all package paths to dvcs
2016-04-27 12:59:04 -07:00
Jeromy
d8a6d25b8c
add a read deadline for the multistream select on dial
2016-04-27 12:17:08 -07:00
Jeromy
15b28dc0ce
recursive dependency update of utp lib
2016-04-27 10:12:51 -07:00
Jeromy Johnson
bd600922d3
Merge pull request #36 from ipfs/filter-ip6
...
Fix address filtering for /ip6, add tests
2016-04-12 20:46:34 -07:00
Jeromy
4f82ae5e62
move some deps out as gx packages
2016-04-11 23:24:32 -07:00
Jeromy
261b113530
add a test with connections timing out
2016-04-11 11:06:22 -07:00
Lars Gierth
2b226b9b5a
Fix address filtering for /ip6, add tests
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-04-10 23:50:39 -07:00
Jeromy
e123a79f92
make test smaller for osx
2016-04-10 11:32:17 -07:00
Jeromy
d3a90434f1
add test to show concurrency of dials
2016-04-10 11:05:53 -07:00
Jeromy
9d44390084
address feedback from CR
2016-04-10 10:21:25 -07:00
Jeromy
b938ab9ab6
Handle incoming conns in their own goroutines
...
Doing the multistream negotiation in sync causes hanging issues.
This commit accepts transport connections and starts the negotiation
in a separate goroutine, sending it down a channel when its ready.
2016-04-09 23:02:23 -07:00
Jeromy
0d2ae7b73f
don't break listener on failed msmux negotiation
2016-04-06 18:41:59 -07:00
Jeromy
cb974e87c1
rename protocols after discussion
2016-04-06 13:06:05 -07:00
Jeromy
9c68f44a14
version multistream protocol tags
2016-04-06 12:14:06 -07:00
Jeromy
60d096098e
use different protocol tag for unencrypted transport
2016-04-06 11:32:17 -07:00
Jeromy
200d7a872f
add multistream select to select which crypto to use
2016-04-06 11:18:03 -07:00
Jeromy
c7cc7482e3
update utp lib
2016-03-29 18:38:24 -07:00
Jeromy
90a6977bd9
fix accidental find and replace fail
2016-03-29 18:11:59 -07:00
Jeromy
ec85e0bbdf
bump yamux backlog setting way up
2016-03-08 17:40:52 -08:00
Jeromy
955ae93a4b
switch to new version of go-stream-muxer
2016-03-07 22:43:13 -08:00
Jeromy
5ec1f553f0
fix fallback code and add a few new tests
2016-03-04 16:16:58 -08:00
Jeromy
1b84a1cc9d
Add fallback dialer
...
Previously we were unable to dial on a given transport if there were no
listener addresses defined for that. This meant that most people couldnt
use utp (as they had no utp listener transport to dial from).
2016-03-04 09:27:52 -08:00
Jeromy
648902840d
use multiaddr format to do validation of addresses
2016-03-03 14:56:00 -08:00
Jeromy
7b48e5bc4d
update version of go-multiaddr
2016-03-03 13:03:24 -08:00
Jeromy
7d1706f7ab
make mdns service tag conform to standards
2016-03-01 23:24:29 -08:00
Jeromy
1deeb429fb
record ping latencies in peerstore
2016-02-21 09:51:43 -08:00
Jeromy
e4934f1014
add remote multiaddr from active connection to peerstore
2016-02-16 21:25:00 -08:00
Jeromy
98c7ca0d86
finish deps rewrite
2016-02-16 17:02:00 -08:00
Jeromy
c14ec1c4dc
change listener errors to warnings
2016-02-13 16:22:20 -08:00
Jeromy
8d928334b5
make PeerInfo loggable
2016-02-10 09:32:01 -08:00
Jeromy
62af652294
update to utp code from master of go-ipfs
2016-01-30 17:12:33 -08:00
Randall Leeds
f580951130
Leave overflow logic to go-msgio
...
go-msgio implements the message length limit (currently 8MB), so the
secio reader can get away without re-implementing this logic.
Instead, the reader lets go-msgio allocate a buffer when the output
buffer is too small to hold the incoming message. This buffer is kept
and drained into the output buffer(s) of Read() calls and released back
to the msgio instance once it is fully drained.
License: MIT
Signed-off-by: Randall Leeds <randall@bleeds.info>
2016-01-29 17:45:17 -08:00
Jeromy
c441a14b69
add utp to have feature parity with go-ipfs
2016-01-05 14:24:02 -08:00
Jeromy
ada8212cac
path rewrites
2016-01-04 05:45:58 -08:00
Jeromy
451945c2c5
vendor fixing
2015-12-11 11:23:29 -08:00
Jeromy
d91b419ecf
WIP
2015-12-06 23:11:16 -08:00
Jeromy
1c6efef4f8
vendor in go-detect-race
2015-11-23 17:04:47 -08:00
Jeromy
dafa3bf917
make new stream calls accept a context
2015-11-19 16:20:59 -08:00
Jeromy
9d40a0af19
migrate to gx namespace
2015-11-18 16:11:24 -08:00
Jeromy
fb31f44627
remove prometheus dep
2015-11-16 17:25:35 -08:00
Jeromy
8acc21e88d
Vendor in go-peerstream
2015-11-16 16:47:49 -08:00
Jeromy
a9de494fe3
update multiaddr-filter
2015-11-16 16:41:23 -08:00
Jeromy
52a0925681
vendor go-ipfs-util
2015-11-15 21:15:23 -08:00
Jeromy
ebd0a2dfb2
remove multiple multihash deps
2015-11-15 21:04:44 -08:00
Jeromy
4a64aae7c6
move testutil up
2015-11-15 19:59:59 -08:00
Jeromy
0c73722a91
vendor in notifier
2015-11-15 18:42:27 -08:00
Jeromy
d4b42f8e45
fixes for sha3
2015-11-15 18:28:35 -08:00
Jeromy
8f79df770e
vendor in gogo protobuf
2015-11-15 17:54:19 -08:00
Jeromy
f3d96ac5db
use only gogo protobuf
2015-11-15 17:44:56 -08:00
Jeromy
216db146ca
more vendoring
2015-11-15 11:56:01 -08:00
Jeromy
e142795053
remove dependency on key
2015-11-13 16:18:52 -08:00
Jeromy
51fd99e363
extract from 0.4.0
2015-11-11 16:19:51 -08:00
Juan Batiz-Benet
2392434b6d
rewrote imports to p2p
2015-09-30 19:24:00 -04:00
Juan Batiz-Benet
885d86219e
move to p2p dir
2015-09-30 18:42:55 -04:00