gh-134938: Add set_pledged_input_size() to ZstdCompressor (GH-135010)

This commit is contained in:
Emma Smith 2025-06-05 04:31:49 -07:00 committed by GitHub
parent 3d396ab759
commit 4b44b3409a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 285 additions and 2 deletions

View file

@ -72,6 +72,9 @@ set_zstd_error(const _zstd_state *state, error_type type, size_t zstd_ret)
case ERR_COMPRESS:
msg = "Unable to compress Zstandard data: %s";
break;
case ERR_SET_PLEDGED_INPUT_SIZE:
msg = "Unable to set pledged uncompressed content size: %s";
break;
case ERR_LOAD_D_DICT:
msg = "Unable to load Zstandard dictionary or prefix for "