From: Amos Jeffries Date: Wed, 22 Oct 2014 11:50:24 +0000 (-0700) Subject: Drop dead code HttpStateData::ReadReplyWrapper() X-Git-Tag: merge-candidate-3-v1~532 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=65dc06a895bb1f0fe471732aaeb3d899db1284fe;p=thirdparty%2Fsquid.git Drop dead code HttpStateData::ReadReplyWrapper() --- diff --git a/src/http.cc b/src/http.cc index 1d20a425a5..0fb48186f5 100644 --- a/src/http.cc +++ b/src/http.cc @@ -1100,22 +1100,6 @@ HttpStateData::persistentConnStatus() const return statusIfComplete(); } -/* - * This is the callback after some data has been read from the network - */ -/* -void -HttpStateData::ReadReplyWrapper(int fd, char *buf, size_t len, Comm::Flag flag, int xerrno, void *data) -{ - HttpStateData *httpState = static_cast(data); - assert (fd == httpState->serverConnection->fd); - // assert(buf == readBuf->content()); - PROF_start(HttpStateData_readReply); - httpState->readReply(len, flag, xerrno); - PROF_stop(HttpStateData_readReply); -} -*/ - /* XXX this function is too long! */ void HttpStateData::readReply(const CommIoCbParams &io)