Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

16K is enough for anyone

  • Loading branch information...
commit a469f60d40bad09b5b969292adcd5377c2bc048d 1 parent 71ae0bb
Richard Jones authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  src/connection.cpp
2  src/connection.cpp
@@ -87,7 +87,7 @@ Connection::handle_read_header(const boost::system::error_code& e, message_ptr m
87 87 return;
88 88 }
89 89 // Start an asynchronous call to receive the payload data
90   - assert( msgp->length() <= 10240 ); // 10K hard limit on payload size
  90 + assert( msgp->length() <= 16384 ); // 10K hard limit on payload size
91 91 // allocate space for payload, length taken from header:
92 92 msgp->malloc_payload();
93 93 // short-circuit if there is no payload

0 comments on commit a469f60

Please sign in to comment.
Something went wrong with that request. Please try again.