void vortex_ctx_close_conn_on_write_timeout ( VortexCtx ctx,
axl_bool  disable 
)

Allows to disable/enable write timeout operations for all connections running on the provided context.

By default if a write timeout operation happens, it is retried several times by a default configurable period of 3 seconds (see vortex_ctx_write_timeout).

However, if that timeout is reached, the connection is closed.

You can use this function to disable this behaviour. It is not recommended to be used at the server side because it can block all connections in the provided context.

Parameters
ctxThe context to be configured.
disableaxl_true to disable closing the connection when a write timeout is reached, otherwise, enables this mechanism (which is the default).