Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1174283
D422.id1079.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Oct 2, 3:42 AM
Size
636 B
Mime Type
text/x-diff
Expires
Fri, Oct 3, 3:42 AM (14 h, 3 m)
Engine
blob
Format
Raw Data
Handle
761288
Attached To
D422: INP-1818 - Reset cURL settings only upon connection closing
D422.id1079.diff
View Options
Index: core/units/helpers/curl_helper.php
===================================================================
--- core/units/helpers/curl_helper.php
+++ core/units/helpers/curl_helper.php
@@ -528,8 +528,6 @@
if ( $close_connection ) {
$this->CloseConnection();
}
-
- $this->_resetSettings();
}
/**
@@ -554,6 +552,7 @@
// restore debug mode setting
$this->debugMode = kUtil::constOn('DBG_CURL');
+ $this->_resetSettings();
}
/**
@@ -570,4 +569,4 @@
return ($this->lastHTTPCode == 200) || ($this->lastHTTPCode >= 300 && $this->lastHTTPCode < 310);
}
- }
\ No newline at end of file
+ }
Event Timeline
Log In to Comment