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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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