add isset checks around timeout and maxredirects #2636

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
@jdolieslager
Contributor

jdolieslager commented Oct 1, 2012

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 join this conversation on GitHub. Already have an account? Sign in to comment