aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/http
diff options
context:
space:
mode:
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';
}