icinga2/lib/remote
Johannes Schmidt 037fe1b9b2 Silence -Wtype-limits in HttpUtility::IsValidHeaderValue()
The problem is that the comparison of a signed char against a signed
char literal of 0x80 is always false. This is necessary however to
account for the possibility of unsigned char.

Ideally this could be solved by checking the signedness with
std::numeric_limits, and wrapping the offending expression
`'\x80' <= c` for signed char and `c <= '\xff'` for unsigned char
into an if constexpr block. But it seems -Wtype-limits will fire anyway
because the check is already done while parsing.

Due to this, the comparison against the limits is wrapped into a
preprocessor #if/#else branch based on whether `CHAR_MIN > 0`.
2026-04-27 14:29:26 +02:00
..
actionshandler.cpp Merge pull request #10716 from Icinga/drop-thread-local-variable-apiuser 2026-02-13 14:43:36 +01:00
actionshandler.hpp Remove AuthenticatedApiUser thread-local variable & pass it as param instead 2026-02-11 11:39:57 +01:00
apiaction.cpp Remove AuthenticatedApiUser thread-local variable & pass it as param instead 2026-02-11 11:39:57 +01:00
apiaction.hpp Remove AuthenticatedApiUser thread-local variable & pass it as param instead 2026-02-11 11:39:57 +01:00
apifunction.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
apifunction.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
apilistener-authority.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
apilistener-configsync.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
apilistener-filesync.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
apilistener.cpp Fix misleading TLS handshake error logging 2026-04-16 17:49:48 +02:00
apilistener.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
apilistener.ti Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
apiuser.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
apiuser.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
apiuser.ti Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
CMakeLists.txt Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
configfileshandler.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
configfileshandler.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
configobjectslock.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
configobjectslock.hpp HTTP: stream responses where appropriate 2026-02-11 09:47:39 +01:00
configobjectutility.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
configobjectutility.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
configpackageshandler.cpp HTTP: stream responses where appropriate 2026-02-11 09:47:39 +01:00
configpackageshandler.hpp HTTP: stream responses where appropriate 2026-02-11 09:47:39 +01:00
configpackageutility.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
configpackageutility.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
configstageshandler.cpp HTTP: stream responses where appropriate 2026-02-11 09:47:39 +01:00
configstageshandler.hpp HTTP: stream responses where appropriate 2026-02-11 09:47:39 +01:00
consolehandler.cpp /v1/console: prevent concurrent use of the same session by multiple requests 2026-03-03 11:32:39 +01:00
consolehandler.hpp /v1/console: prevent concurrent use of the same session by multiple requests 2026-03-03 11:32:39 +01:00
createobjecthandler.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
createobjecthandler.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
deleteobjecthandler.cpp HTTP: stream responses where appropriate 2026-02-11 09:47:39 +01:00
deleteobjecthandler.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
endpoint.cpp Endpoint: warn if endpoint name exceeds 64 characters 2026-03-26 13:58:57 +01:00
endpoint.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
endpoint.ti Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
eventqueue.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
eventqueue.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
eventshandler.cpp OutgoingHttpMessage#Flush(): release CpuBoundWork slot 2026-03-19 14:51:19 +01:00
eventshandler.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
filterutility.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
filterutility.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
httphandler.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
httphandler.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
httpmessage.cpp Add common OTel type/lib 2026-04-01 12:18:21 +02:00
httpmessage.hpp Add common OTel type/lib 2026-04-01 12:18:21 +02:00
httpserverconnection.cpp OutgoingHttpMessage: don't use shared_ptr for m_CpuBoundWork 2026-03-26 11:47:45 +01:00
httpserverconnection.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
httputility.cpp Silence -Wtype-limits in HttpUtility::IsValidHeaderValue() 2026-04-27 14:29:26 +02:00
httputility.hpp HTTP: stream responses where appropriate 2026-02-11 09:47:39 +01:00
i2-remote.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
infohandler.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
infohandler.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
jsonrpc.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
jsonrpc.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
jsonrpcconnection-heartbeat.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
jsonrpcconnection-pki.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
jsonrpcconnection.cpp [Refactor] CpuBoundWork#CpuBoundWork(): require an io_context::strand 2026-03-19 14:53:29 +01:00
jsonrpcconnection.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
mallocinfohandler.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
mallocinfohandler.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
messageorigin.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
messageorigin.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
modifyobjecthandler.cpp HTTP: stream responses where appropriate 2026-02-11 09:47:39 +01:00
modifyobjecthandler.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
objectqueryhandler.cpp HTTP: stream responses where appropriate 2026-02-11 09:47:39 +01:00
objectqueryhandler.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
pkiutility.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
pkiutility.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
statushandler.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
statushandler.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
templatequeryhandler.cpp HTTP: stream responses where appropriate 2026-02-11 09:47:39 +01:00
templatequeryhandler.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
typequeryhandler.cpp HTTP: stream responses where appropriate 2026-02-11 09:47:39 +01:00
typequeryhandler.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
url-characters.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
url.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
url.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
variablequeryhandler.cpp HTTP: stream responses where appropriate 2026-02-11 09:47:39 +01:00
variablequeryhandler.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
zone.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
zone.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
zone.ti Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00