wiki.techinc.nl/includes/session
Tim Starling 7fab864f4c SessionManager: write default edit token during session creation
My testing of pywikibot indicates that it's normal for it to request an
edit token from a session that doesn't have one already using a GET
request, and then to POST that edit token very shortly afterwards to
save an edit. This is a stress test of cross-DC session replication. In
my test, replication won and the edit token existed, but there was only
80ms of margin.

If we create the edit token at the earliest opportunity, we should have
at least a few hundred extra milliseconds for replication to occur.

Bug: T279664
Change-Id: I5f60bbe23f6981b0215888fc62b6c2bae68ad8f8
2022-08-16 21:22:25 +00:00
..
Hook
BotPasswordSessionProvider.php Support REST API in BotPasswordSessionProvider 2022-07-22 17:15:41 +02:00
CookieSessionProvider.php Avoid passing null to strcasecmp(), for PHP 8.1 2022-06-11 17:35:37 +08:00
CsrfTokenSet.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
CsrfTokenSetProvider.php Move CRSF token generation to CsrfTokenSet 2021-06-18 12:24:19 -07:00
ImmutableSessionProviderWithCookie.php Use MainConfigNames instead of string literals, #2 2022-04-13 18:55:46 +03:00
MetadataMergeException.php
PHPSessionHandler.php Get the MainConfig from MediaWikiServices instead of RequestContext 2022-05-24 21:54:21 +00:00
Session.php Get rid of warnings on PHP 8.1 2022-06-13 04:42:20 -04:00
SessionBackend.php session: Remove unrealized claims about WRITE_SYNC requirements 2022-08-01 21:42:05 +00:00
SessionId.php
SessionInfo.php
SessionManager.php SessionManager: write default edit token during session creation 2022-08-16 21:22:25 +00:00
SessionManagerInterface.php
SessionOverflowException.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
SessionProvider.php Use GrantsInfo and GrantsLocalization instead of MWGrants 2022-07-10 11:49:15 +00:00
SessionProviderInterface.php
Token.php Explicit cast TS_UNIX to int for arithmetic operations and int args 2022-01-11 20:13:13 +01:00
UserInfo.php Use UserRigorOptions directly 2022-03-25 10:06:34 +11:00