[SR-Users] send_reply() related feature request

Juha Heinanen jh at tutpro.com
Tue Nov 3 07:42:50 CET 2020


Many times (especially when there is a hacking attempt) I want to close
TCP or TLS session after sending reply.  So, for example, I write:

  set_reply_close();
  send_reply("403", "Forbidden");

It would be more convenient if these two calls could be combined into
one, for example:

  send_reply_and_close("403", "Forbidden");

-- Juha



More information about the sr-users mailing list