Loading src/socket.h +1 −2 Original line number Diff line number Diff line Loading @@ -273,6 +273,7 @@ namespace netplus { std::vector<uint8_t> _recv_record; std::vector<uint8_t> _rx_netbuf; #ifdef Windows AcceptContext _acpt; std::array<char, 2 * (sizeof(SOCKADDR_STORAGE) + 16)> _acceptBuf{}; #endif size_t _recv_off = 0; Loading Loading @@ -333,8 +334,6 @@ namespace netplus { const std::vector<uint8_t>& content ); AcceptContext _acpt; friend class poll; friend class event; friend class EventWorker; Loading src/ssl.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -733,7 +733,7 @@ std::vector<uint8_t> netplus::ssl::_calculateHMAC( void netplus::ssl::accept(std::unique_ptr<socket> &csock) { // Legacy synchronous accept + handshake path (used when not using AcceptEx) tcp::accept(csock); if (!csock || csock->fd() == INVALID_SOCKET) return; if (!csock || csock->fd() == 0) return; ssl* cssock = static_cast<ssl*>(csock.get()); Loading Loading
src/socket.h +1 −2 Original line number Diff line number Diff line Loading @@ -273,6 +273,7 @@ namespace netplus { std::vector<uint8_t> _recv_record; std::vector<uint8_t> _rx_netbuf; #ifdef Windows AcceptContext _acpt; std::array<char, 2 * (sizeof(SOCKADDR_STORAGE) + 16)> _acceptBuf{}; #endif size_t _recv_off = 0; Loading Loading @@ -333,8 +334,6 @@ namespace netplus { const std::vector<uint8_t>& content ); AcceptContext _acpt; friend class poll; friend class event; friend class EventWorker; Loading
src/ssl.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -733,7 +733,7 @@ std::vector<uint8_t> netplus::ssl::_calculateHMAC( void netplus::ssl::accept(std::unique_ptr<socket> &csock) { // Legacy synchronous accept + handshake path (used when not using AcceptEx) tcp::accept(csock); if (!csock || csock->fd() == INVALID_SOCKET) return; if (!csock || csock->fd() == 0) return; ssl* cssock = static_cast<ssl*>(csock.get()); Loading