Skip to content

Conversation

@hannahhoward
Copy link
Collaborator

@hannahhoward hannahhoward commented Jun 16, 2022

Goals

Diagnose issue in test failure after upgrading libp2p from 0.16.1 -> 0.20.1.

Implementation

it appears calling stream.Close() too quickly returns an error? Adding a sleep fixes the problem. However, I don't understand why stream.Close would emit an error if you call it right after sending data.

cc: @marten-seemann @aschmahmann

rvagg and others added 2 commits June 16, 2022 19:29
it appears calling stream.Close() too quickly is a problem?
@hannahhoward
Copy link
Collaborator Author

Follow up: this issue does NOT occur when doing a straight upgrade to v0.19.4 without going to 0.20.1 first. So I believe there is a transitive dependency difference between 0.19.4 and 0.20.1 that is the problem

@rvagg rvagg force-pushed the rvagg/bindnode-registry branch from c6e820d to 6565499 Compare June 24, 2022 07:03
Base automatically changed from rvagg/bindnode-registry to main June 25, 2022 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants