projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
|
inline
| side by side (parent:
0d535ef
)
tests: curl SSL bug in 7.87
author
Michael Wallner
<mike@php.net>
Thu, 25 May 2023 11:02:23 +0000
(13:02 +0200)
committer
Michael Wallner
<mike@php.net>
Thu, 25 May 2023 13:12:27 +0000
(15:12 +0200)
tests/client012.phpt
patch
|
blob
|
history
diff --git
a/tests/client012.phpt
b/tests/client012.phpt
index 5dd15133dea9179e483db8bfe1efb9050cd7c172..3b1e1c0c2b9773605cb839a44f4aa693350667e3 100644
(file)
--- a/
tests/client012.phpt
+++ b/
tests/client012.phpt
@@
-1,16
+1,19
@@
--TEST--
client ssl
--SKIPIF--
--TEST--
client ssl
--SKIPIF--
-<?php
+<?php
include "skipif.inc";
skip_online_test();
skip_client_test();
skip_curl_test("7.34.0");
include "skipif.inc";
skip_online_test();
skip_client_test();
skip_curl_test("7.34.0");
+if (0 === strpos(http\Client\Curl\Versions\CURL, "7.87.0")) {
+ die("skip SSL bug in libcurl-7.87\n");
+}
if (strpos(http\Client\Curl\Versions\SSL, "SecureTransport") !== false)
die("skip SecureTransport\n");
?>
--FILE--
if (strpos(http\Client\Curl\Versions\SSL, "SecureTransport") !== false)
die("skip SecureTransport\n");
?>
--FILE--
-<?php
+<?php
echo "Test\n";
$client = new http\Client;
echo "Test\n";
$client = new http\Client;
@@
-24,7
+27,7
@@
var_dump(
) === $client->getSslOptions()
);
) === $client->getSslOptions()
);
-$client->attach($observer = new class implements SplObserver {
+$client->attach($observer = new class implements SplObserver {
public $data = [];
#[ReturnTypeWillChange]
public $data = [];
#[ReturnTypeWillChange]