Skip to content

Commit 5fca05a

Browse files
bukkacharmitro
authored andcommitted
Fix network connect poll interuption handling
When connecting to socket, it is possible to get EINTR. In such case, there should be an another attempt to connect if we are not over the timeout. The timeout should be adjusted accordingly in that case. This fixes phpredis/phpredis#1881 Closes phpGH-16606
1 parent 670a554 commit 5fca05a

File tree

2 files changed

+138
-85
lines changed

2 files changed

+138
-85
lines changed

NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ PHP NEWS
6363
. Fixed bug GH-16905 (Internal iterator functions can't handle UNDEF
6464
properties). (nielsdos)
6565

66+
- Streams:
67+
. Fixed network connect poll interuption handling. (Jakub Zelenka)
68+
6669
- Windows:
6770
. Fixed bug GH-16849 (Error dialog causes process to hang). (cmb)
6871

0 commit comments

Comments
 (0)