summaryrefslogtreecommitdiff
path: root/src/client/Response.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/Response.cxx')
-rw-r--r--src/client/Response.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/Response.cxx b/src/client/Response.cxx
index 3900df75e..0c9145a50 100644
--- a/src/client/Response.cxx
+++ b/src/client/Response.cxx
@@ -59,7 +59,7 @@ Response::Format(const char *fmt, ...) noexcept
bool
Response::WriteBinary(ConstBuffer<void> payload) noexcept
{
- assert(payload.size <= MAX_BINARY_SIZE);
+ assert(payload.size <= client.binary_limit);
return Format("binary: %zu\n", payload.size) &&
Write(payload.data, payload.size) &&