Skip to content

check curl result for return value 'false'#1

Open
ckressibucherTIM wants to merge 1 commit intoGuzzle3:masterfrom
ckressibucherTIM:master
Open

check curl result for return value 'false'#1
ckressibucherTIM wants to merge 1 commit intoGuzzle3:masterfrom
ckressibucherTIM:master

Conversation

@ckressibucherTIM
Copy link

If curl_multi_exec returns false (probably because curl handle has already been closed with curl_multi_close) the method checkCurlResult did not throw an exception. I modified comparision of $code to type-strict to also throw an exception when $code === false.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant