Now (uptill the latest commit), if we try to connect remotely to the management port from cli it will give error --> Segmentation fault (core dumped) because at line number 706 in cli.c :-
if (pgagroal_connect(host, atoi(port), &socket, config->keep_alive, config->non_blocking, &config->buffer_size, config->nodelay))
we were passing extra arguments to pgagroal_connect which comes from config which was not defined for remote connection sequence of execution as per the latest code.
So currently, remote connection functionality won't work!!
Work in Progress
@jesperpedersen PTAL
Bug Fix
There is also a bug fix in this commit -
Now (uptill the latest commit), if we try to connect remotely to the management port from
cli
it will give error -->Segmentation fault (core dumped)
because at line number706
incli.c
:-we were passing extra arguments to
pgagroal_connect
which comes fromconfig
which was not defined for remote connection sequence of execution as per the latest code.So currently, remote connection functionality won't work!!