Commit 3b3c1d46 authored by Max Kellermann's avatar Max Kellermann

event/FullyBufferedSocket: add method GetOutputMaxSize()

parent 056ab199
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment