Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

add isset checks around timeout and maxredirects #2636

Closed
wants to merge 1 commit into from
Closed

add isset checks around timeout and maxredirects #2636

wants to merge 1 commit into from

Conversation

jdolieslager
Copy link
Contributor

timeout and maxredirect config items are not required for a curl request. These items weren't checked if they are specified or not.

If the config items are not set, then it wouldn't set these curl options.

This will fix the check and the code will not throw any notices anymore about this issue.

@ghost ghost assigned weierophinney Oct 2, 2012
weierophinney added a commit that referenced this pull request Oct 2, 2012
weierophinney added a commit to zendframework/zend-http that referenced this pull request May 15, 2015
weierophinney added a commit to zendframework/zend-http that referenced this pull request May 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants