IIRC, port is also optional.
-ovidiu
On Wed, Oct 17, 2012 at 11:27 AM, Juha Heinanen jh@tutpro.com wrote:
Daniel-Constantin Mierla writes:
the value returned by $fs is always with proto, afaik. When you assign something to it is just to identify the listening socket, i.e., the given string value is parsed and used to search in the list of local listen sockets and if something matching is found, then $fs is linked to that socket structure.
I think the description is good in regard to its value, maybe would be good to add notes about assignment value.
ok, i added a sentence to the description text as an attempt to clarify the issue:
It is R/W variable (you can assign values to it directly in configuration file). Transport proto can be omitted when assigning value, in which case it is taken from destination URI of the message.
-- juha