Make WordPress Core

Changeset 10830


Ignore:
Timestamp:
03/23/2009 10:05:04 PM (16 years ago)
Author:
westi
Message:

Set a short timeout for the SSL discovery support so that we don't block requests until the attempt timesout. Fixes #9380 for trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r10810 r10830  
    27442744        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    27452745        curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
     2746        curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
    27462747
    27472748        curl_exec($ch);
Note: See TracChangeset for help on using the changeset viewer.