[SR-Users] force_send_socket

Juha Heinanen jh at tutpro.com
Mon Oct 8 13:36:09 CEST 2018


Alex Balashov writes:

> In the core, there are lots of functions such as strip(), prefix(),
> rewritehostport(), and, in my view, force_send_socket(). These functions
> don't take PV arguments, and are superceded by the more flexible direct
> manipulation of the RURI, the destination set, and $fs, along with the
> wealth of transformations available nowadays, which can be chained.

It would be nice if $fs would supersede force_send_socket, i.e, allow
proto to be missing.  I haven't tried myself.

If proto is mandatory in $fs then its use is more cumbersome than that
of force_send_socket.

-- Juha




More information about the sr-users mailing list