Project

General

Profile

Actions

Bug #3826

closed

Check for IPVRESOLVE before setting it

Added by krileon over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
21 December 2012
Due date:
% Done:

100%

Estimated time:

Description

When forcing IPV4 some hosts CURL versions don't support the IPVRESOLVE parameter. Check that it can be set before setting it to prevent a warning from displaying.

Actions #1

Updated by krileon over 11 years ago

  • Description updated (diff)
Actions #2

Updated by krileon over 11 years ago

CURLOPT_IPRESOLVE is available since curl 7.10.8. So simply just need to do a version check.

Actions #3

Updated by krileon over 11 years ago

It is also only available for PHP 5.3 and newer. So ignore older PHP versions as well.

Actions #4

Updated by krileon over 11 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by krileon over 11 years ago

  • Target version set to 3.4.3
Actions #6

Updated by krileon over 11 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF