Skip to content

Conversation

singlerr
Copy link
Contributor

According to specs, in circuit relay v2, connection data limit must be applied only if max bytes is bigger than 0.
Therefore InboundTrafficHandler should be added only if resv.maxBytes > 0

Copy link
Collaborator

@StefanBratanov StefanBratanov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for the contribution.

auto-merge was automatically disabled August 28, 2025 13:57

Head branch was pushed to by a user without write access

@singlerr
Copy link
Contributor Author

@StefanBratanov Hi, I forgot running spotlessApply so I re-committed after executing spotlessApply
Thank you!

@StefanBratanov
Copy link
Collaborator

@StefanBratanov Hi, I forgot running spotlessApply so I re-committed after executing spotlessApply Thank you!

Perfect! Thank you, will wait for the build to complete and will merge it!

@StefanBratanov StefanBratanov merged commit 25dd797 into libp2p:develop Aug 28, 2025
2 checks passed
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.

2 participants