Skip to content

Commit 6dc935c

Browse files
[HttpClient] Fix releasing uploaded stream resources
1 parent cc96892 commit 6dc935c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

HttpClientTrait.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,7 @@ private static function normalizeBody($body, array &$normalizedHeaders = [])
355355
}
356356
}
357357
});
358+
$caster = null;
358359

359360
if ('' === $body = http_build_query($body, '', '&')) {
360361
return '';

0 commit comments

Comments
 (0)