Skip to content

Commit f6216dc

Browse files
Rob Stradlingpphaneuf
authored andcommitted
Increase max_http_post_body_size from 32K to 64K. Some certs have *lots* of SANs.
1 parent f5f9c2c commit f6216dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/util/libevent_wrapper.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ event* Base::EventNew(evutil_socket_t& sock, short events,
273273

274274
evhttp* Base::HttpNew() const {
275275
const ev_ssize_t max_http_header_size = 4096;
276-
const ev_ssize_t max_http_post_body_size = 32768;
276+
const ev_ssize_t max_http_post_body_size = 65536;
277277
evhttp* http_session = CHECK_NOTNULL(evhttp_new(base_.get()));
278278
evhttp_set_max_headers_size(http_session, max_http_header_size);
279279
evhttp_set_max_body_size(http_session, max_http_post_body_size);

0 commit comments

Comments
 (0)