Hi Aleks, On Fri, Dec 07, 2018 at 01:46:53PM +0100, Aleksandar Lazic wrote: > Hi Jerome. > [...] > I suggest to use a dedicated function for that, jm2c. > > { "bc_http_major", smp_fetch_bc_http_major, 0, NULL, SMP_T_SINT, > SMP_USE_L4SRV }, >
If you look at src/ssl_sock.c there are several fetches applying to both frontend and backend connection, and each pair uses the same function. I shamelessly copied^W^Wtook example from them. Jérôme