Last modified: 2011-05-15 00:46:12 UTC
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
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.
Patch looks right. Fixed in r88131.