Adds a new commit to calculate string byte counts instead of length in the Perl chunking/bundling code. Note, after a little more reading, decided to go with the newer recommended approach of counting bytes via length(Encode::encode_utf8($str)). For reference, https://perldoc.perl.org/bytes.html and 'perldoc -f length'.
This is a slightly larger change than I wanted to rubber-stamp for myself, so leaving here for additional sign-off.
Pushed a branch:
http:// git.evergreen- ils.org/ ?p=working/ OpenSRF. git;a=shortlog; h=refs/ heads/user/ berick/ lp1709710- smarter- chunk-length- and-bytes
Includes sign-offs for the original 2 commits.
Adds a new commit to calculate string byte counts instead of length in the Perl chunking/bundling code. Note, after a little more reading, decided to go with the newer recommended approach of counting bytes via length( Encode: :encode_ utf8($str) ). For reference, https:/ /perldoc. perl.org/ bytes.html and 'perldoc -f length'.
This is a slightly larger change than I wanted to rubber-stamp for myself, so leaving here for additional sign-off.