aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/http
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-03-14 10:13:22 +0000
committerMario <mario@mariovavti.com>2024-03-14 10:13:22 +0000
commit55097c47c5534d4453f7494f8a1542f7beb4d588 (patch)
tree399f81bbd03fcb4bb713339d06512eee962ec8f6 /vendor/sabre/http
parent97b82fc77b424d051b2a472ab2318fd768151bdd (diff)
downloadvolse-hubzilla-55097c47c5534d4453f7494f8a1542f7beb4d588.tar.gz
volse-hubzilla-55097c47c5534d4453f7494f8a1542f7beb4d588.tar.bz2
volse-hubzilla-55097c47c5534d4453f7494f8a1542f7beb4d588.zip
Revert "composer update and use the fixed streams php-jcs library until the floats issue will be fixed upstream. see here for reference https://codeberg.org/streams/streams/issues/151"
This reverts commit 6bf61dfa6b585db01b607a79bd64ec9c583a9c10.
Diffstat (limited to 'vendor/sabre/http')
-rw-r--r--vendor/sabre/http/CHANGELOG.md21
-rw-r--r--vendor/sabre/http/lib/Client.php5
-rw-r--r--vendor/sabre/http/lib/Sapi.php6
-rw-r--r--vendor/sabre/http/lib/Version.php2
4 files changed, 2 insertions, 32 deletions
diff --git a/vendor/sabre/http/CHANGELOG.md b/vendor/sabre/http/CHANGELOG.md
index 7c6f4b6ec..2dddce4fb 100644
--- a/vendor/sabre/http/CHANGELOG.md
+++ b/vendor/sabre/http/CHANGELOG.md
@@ -1,27 +1,6 @@
ChangeLog
=========
-5.1.10 (2023-08-18)
-------------------
-
-* #225 Enhance tests/bootstrap.php to find autoloader in more environments (@phil-davis)
-
-5.1.9 (2023-08-17)
-------------------
-
-* #223 skip testParseMimeTypeOnInvalidMimeType (@phil-davis)
-
-5.1.8 (2023-08-17)
-------------------
-
-* #215 Improve CURLOPT_HTTPHEADER Setting Assignment (@amrita-shrestha)
-
-5.1.7 (2023-06-26)
-------------------
-
-* #98 and #176 Add more tests (@peter279k)
-* #207 fix: handle client disconnect properly with ignore_user_abort true (@kesselb)
-
5.1.6 (2022-07-15)
------------------
diff --git a/vendor/sabre/http/lib/Client.php b/vendor/sabre/http/lib/Client.php
index 0837e8d2a..2bc7483a7 100644
--- a/vendor/sabre/http/lib/Client.php
+++ b/vendor/sabre/http/lib/Client.php
@@ -402,10 +402,7 @@ class Client extends EventEmitter
$nHeaders[] = $key.': '.$value;
}
}
-
- if ([] !== $nHeaders) {
- $settings[CURLOPT_HTTPHEADER] = $nHeaders;
- }
+ $settings[CURLOPT_HTTPHEADER] = $nHeaders;
$settings[CURLOPT_URL] = $request->getUrl();
// FIXME: CURLOPT_PROTOCOLS is currently unsupported by HHVM
if (defined('CURLOPT_PROTOCOLS')) {
diff --git a/vendor/sabre/http/lib/Sapi.php b/vendor/sabre/http/lib/Sapi.php
index 55a4c46e7..f8e8397fc 100644
--- a/vendor/sabre/http/lib/Sapi.php
+++ b/vendor/sabre/http/lib/Sapi.php
@@ -115,12 +115,6 @@ class Sapi
if ($copied <= 0) {
break;
}
- // Abort on client disconnect.
- // With ignore_user_abort(true), the script is not aborted on client disconnect.
- // To avoid reading the entire stream and dismissing the data afterward, check between the chunks if the client is still there.
- if (1 === ignore_user_abort() && 1 === connection_aborted()) {
- break;
- }
$left -= $copied;
}
} else {
diff --git a/vendor/sabre/http/lib/Version.php b/vendor/sabre/http/lib/Version.php
index 93c64797b..47582f22e 100644
--- a/vendor/sabre/http/lib/Version.php
+++ b/vendor/sabre/http/lib/Version.php
@@ -16,5 +16,5 @@ class Version
/**
* Full version number.
*/
- const VERSION = '5.1.10';
+ const VERSION = '5.1.6';
}