Caching of xonstat submissions to a file
There are several scenarios where servers lose match results that have not yet been submitted to xonstat. These include crashes, slow or unreliable international connections, and players or admins using commands like once DP has received the curl POST from QC, it's not lost when the map changes.restart
before the submission is complete
This could be fixed by writing the results to a file the moment the match ends, checking for the file at PRVM startup and loading it's contents, and attempting to submit at regular intervals until a success code is received. Even if the cache only supported storing a single match, the server would have until the next time a match ended to get it submitted. The ability to write match results to a local file is already implemented.