[Chilli] [PATCH] adds option for chilli query TCP socket
David Bird
david at coova.com
Thu Mar 1 16:05:46 UTC 2012
Hi Peter,
It would be great if you could merge it into the current SVN version and
create a patch. I've recently sync'ed the development branch into the
public repository.
Thanks for these features!
David
On Thu, 2012-03-01 at 16:30 +0100, Peter Warasin wrote:
> Hi guys
>
> The attached patch adds the option "cmdsocketport" which allows to
> configure a TCP port instead of a UNIX socket path for the chilli_query
> communication.
>
> If neither "cmdsocket" nor "cmdsocketport" is specified the default TCP
> port of 42424 will be opened.
>
> chilli_query accepts now an option -P which allows to specify the tcp
> port, if neither -P nor -s <unixsocketpath> is supplied tcp port 42424
> will be assumed.
>
>
> In many circumstances it is possible that somehow this unix socket file
> will be deleted by another process or by a second chilli process or by
> the sysadmin itself. You can imagine which issues that would cause when
> you rely on chilli query for a special service.
> Using tcp port this is not possible anymore.
>
> Hope this helps you guys too.
>
>
> The patch is against 1.2.6. If rebase is required, just tell me
>
> peter
>
> _______________________________________________
> Chilli mailing list
> Chilli at coova.org
> http://lists.coova.org/cgi-bin/mailman/listinfo/chilli
More information about the Chilli
mailing list