Commit 8aa3c517 authored by jan.koester's avatar jan.koester
Browse files

test

parent 49675af6
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
libhttppp (20260505+3) unstable; urgency=medium

  * HttpClient: add null guard for _cltsock in _recvNonBlocking() to
    prevent SIGSEGV when readBodyChunkNonBlocking() is called on a
    client whose socket has been closed or was never connected

 -- Jan Koester <jan.koester@tuxist.de>  Mon, 05 May 2026 17:30:00 +0200

libhttppp (20260505+2) unstable; urgency=high

  * Rebuild against libnetplus 20260505+12 (fixes crash "free(): invalid
+3 −0
Original line number Diff line number Diff line
@@ -481,6 +481,9 @@ size_t libhttppp::HttpClient::_recvBlocking(netplus::buffer &b, int timeout_sec)

// Non-blocking recv: returns 0 immediately if no data available (EAGAIN)
size_t libhttppp::HttpClient::_recvNonBlocking(netplus::buffer &b) {
    if (!_cltsock) {
        return 0;
    }
    try {
        return _cltsock->recvData(b, 0);
    } catch (netplus::NetException &e) {