Flush after writing pending TLS data.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 10 Apr 2018 15:58:38 +0000 (17:58 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 10 Apr 2018 15:58:38 +0000 (17:58 +0200)
commitf552350a97f66f062a9acc94e099950b61891193
treea5765ea43577d56a620a4bd9587aeb8ba00ac25e
parentfa431bfab848624c2490a1134e084e6c1dd0dbfa
Flush after writing pending TLS data.

Cuts something like 600 ms away from the initial TLS handshake,
as we kept having unflushed data that would require waiting for
the 200 ms TCP_CORK timer.
server.cpp