libnetconf2  3.5.1
NETCONF server and client library in C.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Timeouts

There are several timeouts which are used throughout libnetconf2 to assure that it will never indefinitely hang on any operation. Normally, you should not need to worry about them much because they are set by default to reasonable values for common systems. However, if your platform is not common (embedded, ...), adjusting these timeouts may save a lot of debugging and time.

Compile Options

You can adjust active and inactive read timeout using cmake variables. For details look into README.md.

Configurable timeouts

Once a new connection is established including transport protocol negotiations, hello message is exchanged. You can set how long will the server wait for receiving this message from a client before dropping it.

Having a NETCONF session working, it may not communicate for a longer time. To free up some resources, it is possible to adjust the maximum idle period of a session before it is disconnected. In Call Home, for both a persistent and periodic connection can this idle timeout be specified separately for each client. Lastly, SSH user authentication timeout can be also modified. It is the time a client has to successfully authenticate after connecting before it is disconnected.

These timeouts can be toggled by applying corresponding configuration data.