Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor ipfs p2p #4929

Merged
merged 44 commits into from
Sep 13, 2018
Merged
Show file tree
Hide file tree
Changes from 43 commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
a037ae6
p2p: cleanup listening logic, make dial act like ssh -L
magik6k Apr 6, 2018
a0ad8cf
p2p: Optimize registry, move stream stuff around
magik6k Apr 6, 2018
633b04e
p2p: remove redundant listener address check
magik6k May 11, 2018
8b7bf26
p2p: add peer address to peerstore if specified
magik6k May 11, 2018
132d6fa
p2p: Only use reset on streams
magik6k May 22, 2018
cf6ddcb
p2p: fix some stuff after refactor
magik6k May 22, 2018
6a1d709
p2p: turns out we need half-open streams
magik6k May 22, 2018
48d83be
p2p: implement forward cmd
magik6k May 23, 2018
2487c99
p2p: refactor local/remote
magik6k May 23, 2018
067154f
p2p: p2p ls
magik6k May 23, 2018
df6540e
p2p: rework stream/listener registration
magik6k May 25, 2018
058edaf
p2p: make registries thread safer
magik6k May 25, 2018
e8ba4fc
p2p: fix sharness tests after refactor
magik6k May 26, 2018
0198693
improve the documentation for the p2p feature
Stebalien Mar 29, 2018
e4db7f7
p2p: update docs after refactor
magik6k May 26, 2018
0465079
p2p: fix ci
magik6k May 26, 2018
3e0184b
p2p: fix codeclimate warnings
magik6k May 26, 2018
830ed48
p2p: refactor first review
magik6k Jun 2, 2018
9ba8bc5
p2p: additional example
magik6k Jun 2, 2018
df6decd
p2p: don't automatically prefix proto with /p2p
magik6k Jun 2, 2018
df0e566
p2p: update deps after rebase
magik6k Jun 14, 2018
c191028
p2p: change the required prefix to /x/
magik6k Jun 17, 2018
eb45436
p2p: allow-custom-protocol option
magik6k Jun 18, 2018
f5ab137
p2p: split forward into 2 commands
magik6k Jun 18, 2018
a3c84e2
p2p: refactor review
magik6k Jun 20, 2018
4c98eda
p2p: fix remote/local listener races
magik6k Jun 25, 2018
5e8725d
p2p: test to ensure closing right linsters
magik6k Jun 25, 2018
3c6a168
p2p: fix imports after rebase
magik6k Jul 13, 2018
8849193
p2p: more locks
magik6k Jul 13, 2018
4badcdc
p2p: tag connections in connection manager
magik6k Jul 30, 2018
0f9d284
p2p: use host.SetStreamHandlerMatch for now
magik6k Sep 3, 2018
35eaa16
p2p: rebase updates
magik6k Sep 3, 2018
8756764
p2p: test for double-registering listeners
magik6k Sep 3, 2018
d184433
p2p: hold lock when handling new streams
magik6k Sep 5, 2018
a5e5b5b
p2p: test custom protocol
magik6k Sep 5, 2018
dd48b82
p2p: separate listener types
magik6k Sep 5, 2018
bba2d05
p2p: cleanup after listener iface split
magik6k Sep 5, 2018
c509050
p2p: fix connmgr use
magik6k Sep 5, 2018
228a71a
p2p: deduplicate some listeners logic
magik6k Sep 6, 2018
05bc3bd
p2p: simplify remote handler matching
magik6k Sep 6, 2018
80b8940
p2p: fix docstrings
magik6k Sep 6, 2018
f5cb640
p2p: simplify listener startup
magik6k Sep 6, 2018
0b575bc
p2p: rebase import updates
magik6k Sep 11, 2018
b53936a
p2p: Close on Listeners
magik6k Sep 12, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions core/commands/commands_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,13 +161,12 @@ func TestCommands(t *testing.T) {
"/object/put",
"/object/stat",
"/p2p",
"/p2p/listener",
"/p2p/listener/close",
"/p2p/listener/ls",
"/p2p/listener/open",
"/p2p/close",
"/p2p/forward",
"/p2p/listen",
"/p2p/ls",
"/p2p/stream",
"/p2p/stream/close",
"/p2p/stream/dial",
"/p2p/stream/ls",
"/pin",
"/pin/add",
Expand Down
Loading