Revert "don't cache more than 1024 entries, to avoid DoS attacks"#101
Revert "don't cache more than 1024 entries, to avoid DoS attacks"#101
Conversation
|
That's a manifestation of #98, namely the fact that with the current API, there's no way to tell when the #100 should fix that race condition by reworking the client-side API. What the test does and what causes the race condition is reduce this value, to speed up the test: Lines 29 to 30 in 60421fc Once the test is done, it resets it to the old value. Problem is, as mainloop exits eventually after the context is canceled, it may still read from that variable.
|
|
Thanks for the explanation. |
|
I don't think there's a lot we can do to fix the test case, other than adding ridiculous long sleeps. Is there any chance we can get #100 merged any time soon? |
Reverts #94
Causes 2/2 test runs to fail (race) or even crash on master.
@marten-seemann fyi