We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1c6f935 + c36abee commit 588d374Copy full SHA for 588d374
src/Transport/CurlerRolling.php
@@ -125,8 +125,8 @@ private function makeResponse($oneHandle)
125
{
126
$response = curl_multi_getcontent($oneHandle);
127
$header_size = curl_getinfo($oneHandle, CURLINFO_HEADER_SIZE);
128
- $header = substr($response, 0, $header_size);
129
- $body = substr($response, $header_size);
+ $header = substr($response ?? '', 0, $header_size);
+ $body = substr($response ?? '', $header_size);
130
131
$n = new CurlerResponse();
132
$n->_headers = $this->parse_headers_from_curl_response($header);
0 commit comments