-
Notifications
You must be signed in to change notification settings - Fork 11
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
Various fixes #64
Various fixes #64
Conversation
What's the reason for copying the frame? |
The ndnlp link service uses a single outgoing buffer that is passed to the downstream transport (to save mallocgc; I profiled this and the overhead was significant ~5%). The downstream transport must synchronously copy the buffer to OS memory. In this case it loops back to us, so we need to copy it ourselves. |
5be6dc6
to
bad183a
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.
LGTM till now
e482f36
to
7cac9d7
Compare
Thanks for taking a look @zjkmxy , I was worried the changes are a bit too wild to review easily xD Almost done now for this PR, just need a new tag on go-ndn. Next PR I'll check/fix the other transports (likely only unix works at the moment) |
Tagged as |
Not for review yet - will also need tag on go-ndn