HTTPS speed optimize

This commit is contained in:
Balder 2019-10-17 14:01:27 +02:00 committed by Thulinma
parent c0aee45f99
commit 20b54da5e4

View file

@ -107,6 +107,7 @@ namespace Mist{
Socket::Connection http(fd[0]); Socket::Connection http(fd[0]);
http.setBlocking(false); http.setBlocking(false);
Socket::Buffer &http_buf = http.Received(); Socket::Buffer &http_buf = http.Received();
http_buf.splitter.clear();
// pass data back and forth between the SSL connection and HTTP process while connected // pass data back and forth between the SSL connection and HTTP process while connected
while (config->is_active && http){ while (config->is_active && http){