Validate gRPC HPACK request fields#37
Conversation
|
As demonstrated in #27, script length calculations might change over time even if all the variables are flushed. Since the checks added are not expected to be hit in practice and more like "last resort" checks to ensure there will be no overflow, it would be better to put the script-related checks where the actual serialization happens, to ensure all the possible issues are catched. Placing relevant checks to where the actual serialization happens should also improve generated error messages (in the patch, most errors do not contain affected header names/values, as these are not available yet). Similarly, it would make it possible to get rid of seemingly unrelated changes in |
Summary:
Verification:
Fixes #28