-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
gx: update deps #4094
gx: update deps #4094
Conversation
Really: DO NOT MERGE. This definitely introduces bugs that we'll have to fix. |
I will rebase #4091 once this gets moving. |
fb8962e
to
746b4cc
Compare
peerReqs chan chan []peer.ID // channel to request connected peers on | ||
incoming chan *wantSet | ||
connectEvent chan peerStatus // notification channel for peers connecting/disconnecting | ||
peerReqs chan chan []peer.ID // channel to request connected peers on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Technically, this bug existed before this PR. However, the whole point of the peerstream update was to fix bugs like this so I figured I might as well fix this now.
case <-pm.ctx.Done(): | ||
} | ||
} | ||
|
||
// TODO: use goprocess here once i trust it | ||
func (pm *WantManager) Run() { | ||
tock := time.NewTicker(rebroadcastDelay.Get()) | ||
defer tock.Stop() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed this ticker as it doesn't appear to be used.
0bcb1ab
to
b87c465
Compare
821b64e
to
0e8561d
Compare
License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
Otherwise, we could end up receiving a disconnect notification before a connect notification (and think we have a connection that we don't have). License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
0e8561d
to
43e4a64
Compare
|
43e4a64
to
0b313c4
Compare
|
d1c7878
to
90e7531
Compare
Ok. This should be unblocked as I've simply removed the broken test cases (and will be removing go-multiplexer support in the near future as it's very buggy). |
test/sharness/t0125-twonode.sh
Outdated
# test multiplex muxer | ||
export LIBP2P_MUX_PREFS="/mplex/6.7.0" | ||
run_advanced_test "--enable-mplex-experiment" | ||
unset LIBP2P_MUX_PREFS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why remove this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
go-multiplexer is very broken, has been failing travis for a while, and @whyrusleeping told me to simply remove it. I've removed the test cases in this PR and will remove the code in another (so this one can move forward).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(e.g., go-multiplexer is responsible for this bug #4038)
As for why I made this change in this PR... I was having trouble getting CI green.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So..., @diasdavid says this is the only multiplexer that works in both go and JavaScript so we shouldn't remove it.
90e7531
to
0b313c4
Compare
1. Use printf to reliably expand escape sequences by default. 2. grep needs to exit after the first match as we're using HTTP/1.1 (the remote side will not close the connection after sending the response). License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
0b313c4
to
0aca2a3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes so far LGTM. Any specific PRs i should review that are included as deps?
Nope. I've removed the multiplexer changes so this should be good to go. |
gx: update deps This commit was moved from ipfs/kubo@a8c5c04
This updates a lot of libp2p deps. Do not merge yet.
Waiting on libp2p/go-libp2p-kad-dht#74