osmo-remsim/src/bankd
Harald Welte d2192e27ce rspro_client_fsm: Disable automatic connect on FSM allocation
So far, the rspor_client_fsm immediately attempted to establish a
TCP connection to the RSPRO server when calling server_conn_fsm_alloc().

Let's make this implicit auto-connect an explicit request to connect
using the newly-introduced SRVC_E_ESTABLISH.

Let's also change all three existing users of server_conn_fsm_alloc()
to send SRVC_E_ESTABLISH after calling it.

The rationale of this change is to use the same rspro_client_fsm also
for the client->bankd RSPRO connection, where we don't want to
automatically connect at startup, but connect only at a later point, after the
server a has told us to do so.

Change-Id: Icd882405f2ef54e10a66054829c089e4985f1d1f
2019-12-05 08:56:27 +01:00
..
Makefile.am configure.ac: Add --disable-remsim-bankd 2019-04-03 13:11:57 +02:00
bankd.h configure.ac: Add --disable-remsim-bankd 2019-04-03 13:11:57 +02:00
bankd_main.c rspro_client_fsm: Disable automatic connect on FSM allocation 2019-12-05 08:56:27 +01:00
bankd_pcsc.c configure.ac: Add --disable-remsim-bankd 2019-04-03 13:11:57 +02:00
driver_core.c configure.ac: Add --disable-remsim-bankd 2019-04-03 13:11:57 +02:00
driver_pcsc.c configure.ac: Add --disable-remsim-bankd 2019-04-03 13:11:57 +02:00
internal.h configure.ac: Add --disable-remsim-bankd 2019-04-03 13:11:57 +02:00
main.c configure.ac: Add --disable-remsim-bankd 2019-04-03 13:11:57 +02:00