Commit 23fe662c authored by jan.koester's avatar jan.koester
Browse files

test

parent 3efe0f96
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1001,10 +1001,11 @@ std::vector<uint8_t> netplus::ssl::_calculateHMAC(

void netplus::ssl::accept(std::unique_ptr<socket> &csock)
{
    csock->setTimeout(1);
    // 1) Accept underlying TCP connection
    tcp::accept(csock);

     csock->setTimeout(1);

    // If accept failed or returned invalid socket
    if (!csock || csock->fd() < 0) {
        return;