Propagate IMMUTABLE
flag on socket protocol (driver=>upsd
); use it in netset
; sanity-check if (defaulted) NUMBER
values are not in fact STRING
s#2549
Draft
jimklimov wants to merge 12 commits intonetworkupstools:masterfrom jimklimov:issue-266
+122-2
Commits
Commits on Jul 23, 2024
server/netget.c, docs/net-protocol.txt: set_var(): report IMMUTABLE flag on values in DEBUG builds [networkupstools#266]
committed- committed
server/netget.c: sanity-check NUMBER values that they actually resolve as float or long int [networkupstools#266]
committedNEWS.adoc, UPGRADING.adoc: document changes of handling for IMMUTABLE, STRING and NUMBER flags [networkupstools#266]
committeddrivers/dstate.c, common/state.c: allow to dump and receive "IMMUTABLE" flag value [networkupstools#266]
committedserver/netget.c: get_type(): use str_to_*_strict() methods instead of reinventing the wheel [networkupstools#266, networkupstools#966]
committed- committed
NEWS.adoc, UPGRADING.adoc: clarify that PR networkupstools#266 adds IMMUTABLE flag propagation on socket protocol (and fix float=>double)
committed- committed
- committed
- committed
- committed