dwnx_conn_handle_expiry ======================= Synopsis -------- *#include * .. function:: int dwnx_conn_handle_expiry(dwnx_conn *conn, dwnx_tstamp ts) `dwnx_conn_handle_expiry` handles expired timer. If it returns :macro:`DWNX_ERR_IDLE_CLOSE`, it means that an idle timer has fired for this particular connection. In this case, just close the underlying connection. This function returns 0 if it succeeds, or one of the following negative error codes: :macro:`DWNX_ERR_IDLE_CLOSE` The idle timer has fired.