Author: nathan
Description:
For the current revision (7483) insert the following line after line 232:
curl_setopt($ch,CURLOPT_HTTPHEADER, array('Expect: '));
This will prevent a 1-second stall caused by the default libcurl behavior after the PUT completes. Setting an
empty 'Expect' header prevents libcurl from waiting for the '100 Continue' response from the mogstored
storage node.
Since you like Hitchhikers Guide to the Galaxy -- this reminds me of the Hideous Bugbladder Beast of Trall...
If we tell the server we're not expecting an "100 Continue" then libcurl won't expect it.
Version: unspecified
Severity: minor
URL: http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/MogileClient/MogileFS.php