tests(ext-curl): fix HTTP/2 Server Push tests#10669
tests(ext-curl): fix HTTP/2 Server Push tests#10669dunglas wants to merge 9 commits intophp:PHP-8.1from
Conversation
e36f8f4 to
0f52bfb
Compare
93516ef to
43a4d5e
Compare
iluuu1994
left a comment
There was a problem hiding this comment.
Great! I'm not well versed with HTTP and Curl, I had to look up how these options work but from what I can tell the test looks good. Thank you 🙂
b61d731 to
834673d
Compare
|
Sorry for the late response. I see the check was changed to |
|
The main problem is that That's why I used I could try to use curl instead of |
|
I guess that could be moved to a shared skipif file if too long. If it doesn't work well I won't object to a env var. |
9505fb1 to
fa79f6d
Compare
fa79f6d to
a6bc8a8
Compare
|
@iluuu1994 is there anything more to do on this patch? |
|
Fwiw, most browsers and servers drop support for http2 server push. Not sure whether keeping it in php is the right direction See e.g. I am no expert, just mention what I found by accident |
|
Indeed Chrome recommends 103 Early Hints (status in PHP: #7025) now, but Server Push is still supported by many tools (server-side and client-side) and will not be removed from the spec. Anyway, enabling these tests is not related to the status of Server Push. As long as the code is part of PHP (and of curl) and officially supported, it should be tested. If we (or curl) remove this feature at some point, then we'll remove the corresponding tests. |
a6bc8a8 to
1606f89
Compare
1606f89 to
b0911cc
Compare
|
Segfaults have been fixed in libcurl 8.1.0. I skipped these tests if libcurl version is older. |
|
At last 😄 Thanks @dunglas! |
Uh oh!
There was an error while loading. Please reload this page.