Files
seaweedfs/weed/util
Chris LuandClaude Opus 5.5 be8eb02ac0 util: remove multipart temp files parsed on the idle-timeout pause's request copy (#13044)
* util: remove multipart temp files parsed on the paused request copy

net/http removes the temporary files of a multipart form parsed on the
Request it passed to the handler. PauseIdleTimeoutWhileHandling hands the
handler a shallow copy when the request has a body, so a form parsed
there (ParseMultipartForm, or FormValue on a multipart body) left its
temporary files behind.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* util: test that the idle-timeout pause removes multipart temp files

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* util: point the multipart temp-file test's temp dir at Windows' TMP and TEMP too

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 22:47:05 -08:00
..
2023-11-26 11:47:20 -08:00
2026-11-23 03:01:05 +00:00
2021-08-20 18:38:18 +08:00
2026-02-20 18:42:00 -08:00
2026-02-20 18:42:00 -08:00
2026-02-20 18:42:00 -08:00
2026-02-20 18:42:00 -08:00
2026-02-20 18:42:00 -08:00
2026-02-20 18:42:00 -08:00
2022-09-25 13:34:55 -07:00
2024-10-31 08:40:05 -07:00