)]}'
{
  "commit": "559be665296e7587e3ff0425152b631c93b4b56d",
  "tree": "5b27cb63f3d2f84d9033c4a787b506279c648cf7",
  "parents": [
    "911b4e0d8257f1e9f02e35fcf8dba3d24e8fe56f"
  ],
  "author": {
    "name": "Thomas Wolf",
    "email": "twolf@apache.org",
    "time": "Tue Jul 19 12:12:26 2022 +0200"
  },
  "committer": {
    "name": "Thomas Wolf",
    "email": "twolf@apache.org",
    "time": "Sun Jul 31 14:08:46 2022 +0200"
  },
  "message": "[tests] Stabilize the HTTP server\u0027s request log\n\nThe TestRequestLog added log entries only after a request had been\nhandled. But the response is already sent at that point, so the\nfollowing sequence was possible:\n\n  client sends request A\n  server thread T1 handles request A and sends back response\n  client receives response\n  client sends request B\n  server thread T2 handles request B (and sends back response)\n  server thread T2 logs B\n  server thread T1 logs A\n\nFix this by logging events before handling a request, and then filling\nin the response data after the request has been handled. This should\navoid such inversions, at least for tests using a single single-threaded\nclient. With multiple concurrent or multi-threaded clients, all bets\nabout the log order would be off anyway.\n\nBug: 528187\nChange-Id: I99a46df17231fa7c4f75a8c37e2c14dc098c4e22\nSigned-off-by: Thomas Wolf \u003ctwolf@apache.org\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "22e19979e682f7f32736dd0671189335cae3a390",
      "old_mode": 33188,
      "old_path": "org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/AccessEvent.java",
      "new_id": "873d4306756c668b98fdff21984c90cf8b8647c9",
      "new_mode": 33188,
      "new_path": "org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/AccessEvent.java"
    },
    {
      "type": "modify",
      "old_id": "a86edd2f39f291c284715e812cca5442c1b749e5",
      "old_mode": 33188,
      "old_path": "org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/TestRequestLog.java",
      "new_id": "04cb2428a2cfb2dada5791e4eefecaa8ab94b6c7",
      "new_mode": 33188,
      "new_path": "org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/TestRequestLog.java"
    }
  ]
}
