)]}'
{
  "commit": "51f81e5779eac05472fa060f519c481f512bd704",
  "tree": "c8002db983f28a4f0441a568bfdc4b69a8fb6f13",
  "parents": [
    "0175d7ab5a5f0414fa4a472b7cf0e066fe8e5f66"
  ],
  "author": {
    "name": "Jan Schär",
    "email": "jan@monogon.tech",
    "time": "Thu Mar 27 13:13:46 2025 +0000"
  },
  "committer": {
    "name": "Jan Schär",
    "email": "jan@monogon.tech",
    "time": "Mon Apr 07 10:21:53 2025 +0000"
  },
  "message": "osbase/net/sshtakeover: fix upload cancelation\n\nThis updates sftp to the latest version, which has various improvements.\n\nThe previous method of canceling uploads doesn\u0027t work anymore, because\nClose tries to take a lock already held by ReadFromWithConcurrency.\nEven with the previous version of sftp, this wasn\u0027t a correct way to\ncancel an upload, because it just sent a message to the server to close\nthe handle, while continuing the upload in the other goroutine.\n\nThere is a work in progress v2 of sftp where Close actually can be used\nto cancel an upload: https://github.com/pkg/sftp/issues/603\n\nFor now, I think the best way to cancel an upload is to make the reader\nreturn an error.\n\nChange-Id: Id70ea7d35526a2a98295168de26469e28fd127dd\nReviewed-on: https://review.monogon.dev/c/monogon/+/4048\nTested-by: Jenkins CI\nReviewed-by: Tim Windelschmidt \u003ctim@monogon.tech\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6c3213cfd1cd1273287ee84565d655ee90b54c97",
      "old_mode": 33188,
      "old_path": "go.mod",
      "new_id": "71c1751eb9967d45f247c7b496841277140206c6",
      "new_mode": 33188,
      "new_path": "go.mod"
    },
    {
      "type": "modify",
      "old_id": "d8284268e6225144830bdf5c2bb09331b965c69f",
      "old_mode": 33188,
      "old_path": "go.sum",
      "new_id": "baddf284fb7f35c2202edd8e60940d3d3c0de131",
      "new_mode": 33188,
      "new_path": "go.sum"
    },
    {
      "type": "modify",
      "old_id": "20a70d247983609b07698c0279e317d00d744416",
      "old_mode": 33188,
      "old_path": "osbase/net/sshtakeover/sshtakeover.go",
      "new_id": "b8fd8b2d5f6268d9d8d728ed4e6540e484c5a47f",
      "new_mode": 33188,
      "new_path": "osbase/net/sshtakeover/sshtakeover.go"
    }
  ]
}
