rust-code-analysis
rust-code-analysis copied to clipboard
Server sometimes fails when using keep-alive connections
To reproduce, revert https://github.com/mozilla/bugbug/commit/34fb012dd015ee24feabbbd0cf4517275486d7cc, then run python -m bugbug.repository PATH_TO_MOZILLA_CENTRAL -500.
The default conf keep-alive is: https://github.com/actix/actix-web/blob/master/src/server.rs#L89
Actually, the problem was that the requests session was shared between processes even though it can't.
Actually, it does sometimes fail.