Change-Id: I799ea1e647d4d67a3c7d0e8dfddff893aef32736
* timeout longer than the default $wgHTTPTimeout. False means fallback
* to default.
*
* timeout longer than the default $wgHTTPTimeout. False means fallback
* to default.
*
* @since 1.22
*/
$wgCopyUploadTimeout = false;
* @since 1.22
*/
$wgCopyUploadTimeout = false;
/**
* Timeout for HTTP requests done internally, in seconds.
/**
* Timeout for HTTP requests done internally, in seconds.
class MWHttpRequest implements LoggerAwareInterface {
const SUPPORTS_FILE_POSTS = false;
class MWHttpRequest implements LoggerAwareInterface {
const SUPPORTS_FILE_POSTS = false;
+ /**
+ * @var int|string
+ */
protected $timeout = 'default';
protected $timeout = 'default';
protected $headersOnly = null;
protected $postData = null;
protected $proxy = null;
protected $headersOnly = null;
protected $postData = null;
protected $proxy = null;