Loading src/ssl.cpp +1 −1 Changes for src/ssl.cpp: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -1052,7 +1052,7 @@ size_t netplus::ssl::recvData(buffer &data, int flags) { _recv_seq++; // 9) Copy out ONLY content (not full plain) size_t outLen = std::min((size_t)data.size, content.size()); size_t outLen = (data.size < content.size()) ? (size_t)data.size : content.size(); std::memcpy(data.data.buf, content.data(), outLen); data.size = outLen; return outLen; Loading Loading
src/ssl.cpp +1 −1 Changes for src/ssl.cpp: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -1052,7 +1052,7 @@ size_t netplus::ssl::recvData(buffer &data, int flags) { _recv_seq++; // 9) Copy out ONLY content (not full plain) size_t outLen = std::min((size_t)data.size, content.size()); size_t outLen = (data.size < content.size()) ? (size_t)data.size : content.size(); std::memcpy(data.data.buf, content.data(), outLen); data.size = outLen; return outLen; Loading