Skip to content

Added retry when SOCKET_EINTR#178

Merged
stefanak-michal merged 1 commit into
masterfrom
stefanak-michal-patch-1
Dec 16, 2025
Merged

Added retry when SOCKET_EINTR#178
stefanak-michal merged 1 commit into
masterfrom
stefanak-michal-patch-1

Conversation

@stefanak-michal

Copy link
Copy Markdown
Owner

No description provided.

@stefanak-michal

Copy link
Copy Markdown
Owner Author

#177

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR adds retry logic to handle SOCKET_EINTR (error code 10004) interruptions during socket read operations, allowing the connection to gracefully recover from interrupted system calls instead of throwing an exception.

Key changes:

  • Added conditional check for socket error code 10004 (SOCKET_EINTR) to continue reading instead of throwing an exception

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/connection/Socket.php
@stefanak-michal stefanak-michal merged commit a6384c0 into master Dec 16, 2025
45 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