Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9ab359e

Browse filesBrowse files
[HttpClient] Fix low-deps job
1 parent 4402ec3 commit 9ab359e
Copy full SHA for 9ab359e

File tree

Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed

‎AmpHttpClient.php

Copy file name to clipboardExpand all lines: AmpHttpClient.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ public function reset(): void
159159

160160
foreach ($this->multi->pushedResponses as $pushedResponses) {
161161
foreach ($pushedResponses as [$pushedUrl, $pushDeferred]) {
162-
$pushDeferred->fail(new CancelledException());
162+
$pushDeferred->error(new CancelledException());
163163

164164
$this->logger?->debug(\sprintf('Unused pushed response: "%s"', $pushedUrl));
165165
}

‎composer.json

Copy file name to clipboardExpand all lines: composer.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"symfony/service-contracts": "^2.5|^3"
2929
},
3030
"require-dev": {
31-
"amphp/http-client": "^5.0",
31+
"amphp/http-client": "^5.3.2",
3232
"amphp/http-tunnel": "^2.0",
3333
"guzzlehttp/promises": "^1.4|^2.0",
3434
"nyholm/psr7": "^1.0",

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.