Skip to content
  • ntome's avatar
    Browser: use a lock to prevent race condition when saving responses · 45adad8a
    ntome authored and Romain Bignon's avatar Romain Bignon committed
    Browser.responses_count is not modified atomically as if there were only
    one thread, but the AsyncLoad filter will use multiple threads and
    access it concurrently. As a result, multiple responses were written to
    the same file.
    Add a lock to prevent concurrency on the responses_count field.
    45adad8a