[SR-Users] send_reply() related feature request

Juha Heinanen jh at tutpro.com
Tue Nov 3 11:10:24 CET 2020


Daniel-Constantin Mierla writes:

> set_reply_close() is very minimal wrapper action from the core setting
> an internal flag. It can be merged with a reply function, but maybe it
> should be a new function a little bit more generic, like
> send_reply_mode(code, reason, mode) where mode is a parameter that can
> be used for other purposes in the future (by using bit-based flags).

There may be cases where it is not good idea to close connection after
reply.  So it should not be automatically done by send_reply(). A new
function either with or without an extra argument would be fine.

-- Juha



More information about the sr-users mailing list