]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/Pipeline.h
Source Format Enforcement (#532)
[thirdparty/squid.git] / src / Pipeline.h
index 2d2d12a482328d62a105991ce4f76b40fa20c87e..86503079b6dbace45350df8ea3502f96b70fb27c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1996-2016 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2020 The Squid Software Foundation and contributors
  *
  * Squid software is distributed under GPLv2+ license and includes
  * contributions from numerous individuals and organizations.
@@ -46,6 +46,9 @@ public:
     /// get the first request context in the pipeline
     Http::StreamPointer front() const;
 
+    /// get the last request context in the pipeline
+    Http::StreamPointer back() const;
+
     /// how many requests are currently pipelined
     size_t count() const {return requests.size();}