Increased buffer again as the smaller buffer broke client certificates

This commit is contained in:
Noah Laptop 2019-07-25 09:16:58 -07:00
parent 4b95e7d7a1
commit 97aee26a1f

View file

@ -202,7 +202,7 @@ private:
* As a rule of thumb SSLClient will fail if it does not have at least 8000 bytes when starting a * As a rule of thumb SSLClient will fail if it does not have at least 8000 bytes when starting a
* connection. * connection.
*/ */
unsigned char m_iobuf[1536]; unsigned char m_iobuf[2048];
static_assert(sizeof m_iobuf <= BR_SSL_BUFSIZE_BIDI, "m_iobuf must be below maximum buffer size"); static_assert(sizeof m_iobuf <= BR_SSL_BUFSIZE_BIDI, "m_iobuf must be below maximum buffer size");
// store the index of where we are writing in the buffer // store the index of where we are writing in the buffer
// so we can send our records all at once to prevent // so we can send our records all at once to prevent