HPACK, length of a particular string

Hi.
Assuming a sender sent a frame contains the string "What you \0 gonna do to it?" using Huffman encoding or not  to a receiver. 
I know most compilers would drop the characters after "\0". Let's just say the sender had its way sent all of these octets on purpose. String length was also set to the number of these octets (26 if not using Huffman encoding).
Let's say it's also an incremental indexing entry. Therefore the length of the string will affect the dynamic table.
So, it's important to use the correct length for calculating entry size. 
What is it, 26 or 9?
Or just treat it as a COMPRESSION_ERROR?
In other case, if the sender replace \0 to 0x8 (backspace) or 0x1 (some invisible character).
Is the length for calculating entry size still the same?

Received on Friday, 29 September 2017 09:24:54 UTC