OPNSense/core 817be51 — src/opnsense/mvc/app/library/OPNsense/Core Backend.php
configd: improve error handling while configd is either not active or not functional. - reconnecting the socket stream_socket_client() is safe while not executing commands - if configd dies during communication, we should log and retun an empty response. The caller should handle operation, since you can't be sure restarting the action is a safe operation. closes https://github.com/opnsense/core/pull/3744
Delta | File | |
---|---|---|
+13 | -7 | src/opnsense/mvc/app/library/OPNsense/Core/Backend.php |
+13 | -7 | 1 files |