Johannes Schmidt
Johannes Schmidt
This can be reproduced quite easily, just by reducing the timeout in `AddConnection` to something like 10ms. I actually had much more difficulty reproducing where the timeout actually *did* cancel...
I've looked into using `shutdown` instead of `cancel` here and it doesn't work when the handshake is not yet done. It just throws an error (or returns an error_code) and...
> * This doesn't compile on my machine🍎. > > * Also, I'm afraid this will break OpenBSD https://man.openbsd.org/sigtimedwait which we explicitly ensured to build [GHA: also build on Alpine...
I've just pushed a new version where I addressed some of @Al2Klimov's comments and also added some additional clarification and validation for the timeout passed to `GetPendingSignal()`.
Another update that now replaces the timeout value in `GetPendingSignal()` with `std::chrono::microseconds` in a variant with bool to signify infinite or zero wait. Also fixed another small oversight where `EINTR`...
@Al2Klimov We're also using the PID for the other signals, even SIGTERM on the worker side. But I get what you mean. And there's already helper classes that would make...
> Sure, it's an option to keep those two implementations for now – IF you test the final PR version on all different OS to be supported. I didn't necessarily...
It has become clear that this minimal, messy, platform-dependent solution isn't satisfactory. At some point in the future I'll make another attempt at this based on `boost::asio::signal_set` and local socket...
This is a design flaw that all Perfdata Writers currently share (including #10577, which is the reason I'm now going to take a look at this). The reason is that...
> Edit: The "[Responses](https://icinga.com/docs/icinga-2/latest/doc/12-icinga2-api/#responses)" section needs to be adapted. On second thought, I think it is basically fine as it is. The next section "HTTP Statuses" mentions that everything from...