Skip to content
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

restore errno when release success in pooled socket #499

Merged
merged 1 commit into from
Jun 4, 2024

Conversation

liulanzheng
Copy link
Collaborator

In release() of TCPSocketPool, the call to stream_alive() modifies errno even if it succeeds. So restore and reset errno if stream_alive() success.

Signed-off-by: liulanzheng <lanzheng.liulz@alibaba-inc.com>
@lihuiba lihuiba merged commit adee35e into alibaba:main Jun 4, 2024
8 of 9 checks passed
liulanzheng added a commit to liulanzheng/PhotonLibOS that referenced this pull request Jun 4, 2024
Signed-off-by: liulanzheng <lanzheng.liulz@alibaba-inc.com>
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