Commit caf3913
committed
Run stream_server_reneg_limit.phpt on Windows, too
As is, the client code may block on Windows when trying to read STDERR;
if that happens, neither the openssl nor the php processes would be
terminated, causing further issues for the test suite.
We fix this by using `stream_select()` and only read if there is data
available. This may cause some delay until we hit the timeout, but it
might be necessary to "empty" STDERR.1 parent 18ba983 commit caf3913
1 file changed
+3
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | 10 | | |
14 | 11 | | |
15 | 12 | | |
| |||
83 | 80 | | |
84 | 81 | | |
85 | 82 | | |
86 | | - | |
87 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
88 | 86 | | |
89 | 87 | | |
90 | 88 | | |
| |||
0 commit comments