summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/event/FullyBufferedSocket.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/event/FullyBufferedSocket.hxx b/src/event/FullyBufferedSocket.hxx
index 1d6ee6046..995deb47e 100644
--- a/src/event/FullyBufferedSocket.hxx
+++ b/src/event/FullyBufferedSocket.hxx
@@ -45,6 +45,10 @@ public:
BufferedSocket::Close();
}
+ std::size_t GetOutputMaxSize() const noexcept {
+ return output.max_size();
+ }
+
private:
/**
* @return the number of bytes written to the socket, 0 if the