1
0
mirror of https://github.com/TeamNewPipe/NewPipe/ synced 2025-02-04 20:57:47 +01:00
Bertrand Jaunet 410c01547c DownloaderImpl: Auto-close resources and simplify header setting
The headers should be overwritten in the same way, based on how
`.header` is the same as `.removeHeader().addHeader()`.

We weren’t closing the request resources after using them, potentially
leaking file handles. This will add autoclosing for both the request
and the body objects.
2025-01-31 12:36:27 +01:00
..
2025-01-21 23:34:42 +01:00