Add inline documentation about chunk size and byte safety collab/miker/revert_perl_encode_byte_counting
authorMike Rylander <miker@esilibrary.com>
Fri, 15 Sep 2017 14:45:50 +0000 (10:45 -0400)
committerMike Rylander <miker@esilibrary.com>
Fri, 15 Sep 2017 14:48:59 +0000 (10:48 -0400)
commitfedd0f8a65123a90fde56ee9df7f5810d137a943
treeaaecae646c2f74d571d578b7f60dcce247f5e068
parentbafbe28e1ad697de7afb5d9becbf3cb88141bc50
Add inline documentation about chunk size and byte safety

Since we publish only 7-bit ASCII, it's safe to calculate chunk size in bytes
rather than characters.  This provides some inline comments so that future
developers know that without full context or code diving.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
src/libopensrf/osrf_app_session.c
src/libopensrf/osrf_application.c
src/perl/lib/OpenSRF/AppSession.pm