diff --git a/app/modules/net.c b/app/modules/net.c index 516ccab9..faab54de 100644 --- a/app/modules/net.c +++ b/app/modules/net.c @@ -594,6 +594,7 @@ static void socket_connect(struct espconn *pesp_conn) { #ifdef CLIENT_SSL_ENABLE if(nud->secure){ + espconn_secure_set_size(ESPCONN_CLIENT, 5120); /* set SSL buffer size */ espconn_secure_connect(pesp_conn); } else