rust-code-analysis icon indicating copy to clipboard operation
rust-code-analysis copied to clipboard

Server sometimes fails when using keep-alive connections

Open marco-c opened this issue 5 years ago • 4 comments

To reproduce, revert https://github.com/mozilla/bugbug/commit/34fb012dd015ee24feabbbd0cf4517275486d7cc, then run python -m bugbug.repository PATH_TO_MOZILLA_CENTRAL -500.

marco-c avatar Mar 23 '20 13:03 marco-c

The default conf keep-alive is: https://github.com/actix/actix-web/blob/master/src/server.rs#L89

calixteman avatar Mar 23 '20 13:03 calixteman

Actually, the problem was that the requests session was shared between processes even though it can't.

marco-c avatar Mar 23 '20 14:03 marco-c

Actually, it does sometimes fail.

marco-c avatar Mar 31 '20 19:03 marco-c

live_backing.txt

marco-c avatar Mar 31 '20 19:03 marco-c