You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "mhlakhani (via GitHub)" <gi...@apache.org> on 2025/05/24 19:49:30 UTC
[PR] [nit] Return early if no bytes left to return in thrift_memory_buffer_read [thrift]
mhlakhani opened a new pull request, #3147:
URL: https://github.com/apache/thrift/pull/3147
<!-- Explain the changes in the pull request below: -->
As title. Return early with an error if there's nothing left to read, which the caller can use to know the buffer has been fully consumed.
<!-- We recommend you review the checklist/tips before submitting a pull request. -->
- [x] Did you create an [Apache Jira](https://issues.apache.org/jira/projects/THRIFT/issues/) ticket? ([Request account here](https://selfserve.apache.org/jira-account.html), not required for trivial changes)
Did not create a ticket as the change is pretty trivial.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@thrift.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [nit] Return early if no bytes left to return in thrift_memory_buffer_read [thrift]
Posted by "Jens-G (via GitHub)" <gi...@apache.org>.
Jens-G merged PR #3147:
URL: https://github.com/apache/thrift/pull/3147
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@thrift.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org