]> git.ipfire.org Git - thirdparty/squid.git/commit
Simplified variable-length vector (our "PStrings") contents extraction.
authorAlex Rousskov <rousskov@measurement-factory.com>
Fri, 29 Apr 2016 00:45:48 +0000 (18:45 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Fri, 29 Apr 2016 00:45:48 +0000 (18:45 -0600)
commitaa6896b41aa2be337284e9eb75b7f2bfe5c8e862
tree622ebfa51082bee4f7c7f49f8c12c20598a684ec
parentfc34b43d2939da581ac21d8ac2d097dabfb4866e
Simplified variable-length vector (our "PStrings") contents extraction.

Earlier code required the caller to first create a PString object and
then extract its .data field to get to the vector contents as an SBuf.
However, that approach just increased code and logging noise because
that SBuf itself (including SBuf.length()) is all the caller may need!
src/security/Handshake.cc
src/security/Handshake.h