Loading src/crypto/tls.cpp +12 −0 Original line number Diff line number Diff line Loading @@ -2427,6 +2427,18 @@ namespace netplus { throw n; } // Flush any pending outbound TLS records before reading. // If sendData() partially flushed (non-blocking EAGAIN), the peer // may never have received our request — drain it now. if (hasPendingWrite()) { try { flush_out(); } catch (NetException& e) { if (e.getErrorType() != NetException::Note) throw; } } // ============================================================ // 1) deliver leftover plaintext (partial read from last record) Loading Loading
src/crypto/tls.cpp +12 −0 Original line number Diff line number Diff line Loading @@ -2427,6 +2427,18 @@ namespace netplus { throw n; } // Flush any pending outbound TLS records before reading. // If sendData() partially flushed (non-blocking EAGAIN), the peer // may never have received our request — drain it now. if (hasPendingWrite()) { try { flush_out(); } catch (NetException& e) { if (e.getErrorType() != NetException::Note) throw; } } // ============================================================ // 1) deliver leftover plaintext (partial read from last record) Loading