stream_socket_client throws fatal error if network is unreachable
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- php
- Domain
- networking
Research direction
Start at src/TcpConnector.php line 91 and inspect how stream_socket_client handles an unreachable network. Confirm the connection failure path and change the behavior so it produces a rejected promise rather than a fatal error; done means unreachable connections fail gracefully as described.
Written by the indexing model from the issue text.
Description
This should be handled more gracefully by returning with a rejected promise if it fails to connect.
- Dominant language
- PHP
- Stars
- 1.3k
- Forks
- 160
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from reactphp/socket
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
maintenance
Difficulty 5/5 Over a week Newbie friendliness 20/100
-
help wanted new feature
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
help wanted new feature
Difficulty 5/5 Over a week Newbie friendliness 20/100
-
Support STARTTLS Openhelp wanted new feature
Difficulty 5/5 Over a week Newbie friendliness 25/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
a11y admissions.uiowa.edu needs grooming SiteImprove best practice
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Save States Menu Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
pluginsGLPI/datainjection#673 ·