]> git.ipfire.org Git - thirdparty/squid.git/commit - src/adaptation/icap/ModXact.cc
Revert HttpMsg::parse API from MemBuf to c-string
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 25 Jan 2015 15:05:23 +0000 (07:05 -0800)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 25 Jan 2015 15:05:23 +0000 (07:05 -0800)
commit84ae6223b79d41ce4918928b6374baccc72c4e80
tree54bd5429bb27145cb38247c0442311d000627221
parent3bc5ed530e5893c7665584d14a8489db2b425e2f
Revert HttpMsg::parse API from MemBuf to c-string

It is simpler and more performant to incrementally convert the I/O
buffers to SBuf using c-string export to legacy code than MemBuf.

HttpMsg::parse API did not really make much use of MemBuf, so we can
remove that and avoid performance regressions later in ICAP I/O buffer
conversion.
16 files changed:
src/HttpMsg.cc
src/HttpMsg.h
src/HttpReply.cc
src/HttpReply.h
src/HttpRequest.cc
src/HttpRequest.h
src/adaptation/icap/ModXact.cc
src/adaptation/icap/OptXact.cc
src/adaptation/icap/Xaction.cc
src/adaptation/icap/Xaction.h
src/http.cc
src/tests/stub_HttpReply.cc
src/tests/stub_HttpRequest.cc
src/tests/testHttpReply.cc
src/tests/testHttpRequest.cc
src/tunnel.cc