]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Drop dead code HttpStateData::ReadReplyWrapper()
authorAmos Jeffries <squid3@treenet.co.nz>
Wed, 22 Oct 2014 11:50:24 +0000 (04:50 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 22 Oct 2014 11:50:24 +0000 (04:50 -0700)
src/http.cc

index 1d20a425a5d4f6b0f7cb4d4f13a20db0a7b853b4..0fb48186f584802f91f23638f90cd83ddb34f1c3 100644 (file)
@@ -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<HttpStateData *>(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)