diff options
author | Pierre Bourdon <delroth@gmail.com> | 2024-05-11 15:10:45 +0200 |
---|---|---|
committer | Pierre Bourdon <delroth@gmail.com> | 2024-05-11 15:58:32 +0200 |
commit | a30c5673367533aec48faa59dd0d76b283dda1ba (patch) | |
tree | 3f644e1440e551ea9c6af2505448ac425a8a7cca /src/libutil/util.hh | |
parent | 38d825b21e425b0f0a64304ff5bfe4dfbeaf9e97 (diff) |
filetransfer: unit test content-encoding handling
Very basic behavior test to ensure that gzip data gets internally
decompressed by the file transfer pipeline.
Change a std::string_view return value in the test harness to
std::string. I wouldn't call myself a C++ beginner and I still managed
to shoot myself in the foot like three times with the lifetime
managements there (e.g. [&] { return an_std_string; } ends up with a
dangling string_view!).
Change-Id: I1360750d4181ce1ca2a3aa4dc0e97e131351c469
Diffstat (limited to 'src/libutil/util.hh')
0 files changed, 0 insertions, 0 deletions