Last modified: 2011-05-15 00:46:12 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T11399, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 9399 - MogileFS.php client halts for 1 second after PUT call
MogileFS.php client halts for 1 second after PUT call
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Low minor (vote)
: ---
Assigned To: Domas Mituzas
http://svn.wikimedia.org/viewvc/media...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-23 07:21 UTC by Nathan Schmidt
Modified: 2011-05-15 00:46 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Nathan Schmidt 2007-03-23 07:21:13 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 
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.
Comment 1 Platonides 2011-05-15 00:46:12 UTC
Patch looks right. Fixed in r88131.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links