]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/Server.h
Merged from trunk (r13356).
[thirdparty/squid.git] / src / Server.h
index 25f9e69d39e6af23dcfb8c696276c4c5a3a36f59..589f76a5db9e2ce3fa515fa7c1582330fa98a97d 100644 (file)
@@ -127,6 +127,8 @@ protected:
 
     virtual void closeServer() = 0;            /**< end communication with the server */
     virtual bool doneWithServer() const = 0;   /**< did we end communication? */
+    /// whether we may receive more virgin response body bytes
+    virtual bool mayReadVirginReplyBody() const { return !doneWithServer(); }
 
     /// Entry-dependent callbacks use this check to quit if the entry went bad
     bool abortOnBadEntry(const char *abortReason);