]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Kill now obsolete waitForMorData and startSendProcess
authorHenrik Nordstrom <henrik@henriknordstrom.net>
Sun, 16 Mar 2008 09:15:31 +0000 (10:15 +0100)
committerHenrik Nordstrom <henrik@henriknordstrom.net>
Sun, 16 Mar 2008 09:15:31 +0000 (10:15 +0100)
src/client_side_reply.cc
src/client_side_reply.h

index 939f4ba413fafaf9a7e4e6d78502b9cbfab4a581..995e3b1193862cc8ffcba16a49505808ab32edca 100644 (file)
@@ -1656,31 +1656,6 @@ clientReplyContext::next() const
     return getNextNode();
 }
 
-void
-clientReplyContext::waitForMoreData ()
-{
-    debugs(88, 5, "clientReplyContext::waitForMoreData: Waiting for more data to parse reply headers in client side.");
-    /* We don't have enough to parse the metadata yet */
-    /* TODO: the store should give us out of band metadata and
-     * obsolete this routine 
-     */
-    /* wait for more to arrive */
-    startSendProcess();
-}
-
-void
-clientReplyContext::startSendProcess()
-{
-    debugs(88, 5, "clientReplyContext::startSendProcess: triggering store read to SendMoreData");
-    /* TODO: copy into the supplied buffer */
-    StoreIOBuffer tempBuffer;
-    tempBuffer.offset = reqofs;
-    tempBuffer.length = next()->readBuffer.length;
-    tempBuffer.data = next()->readBuffer.data;
-    storeClientCopy(sc, http->storeEntry(),
-                    tempBuffer, SendMoreData, this);
-}
-
 void
 clientReplyContext::sendBodyTooLargeError()
 {
index be2d932903418021658a93a60aa07af1d7310e19..46ddb6860bf23e0bdb5554d3469d1d49c3d18d36 100644 (file)
@@ -124,9 +124,7 @@ private:
     bool errorInStream(StoreIOBuffer const &result, size_t const &sizeToProcess)const ;
     void sendStreamError(StoreIOBuffer const &result);
     void pushStreamData(StoreIOBuffer const &result, char *source);
-    void waitForMoreData ();
     clientStreamNode * next() const;
-    void startSendProcess();
     StoreIOBuffer holdingBuffer;
     HttpReply *reply;
     void processReplyAccess();