The SPOE applet no longer manipulate the SPOP verison. So it can be safely
removed from its context.
The related issue is #2502.
struct spoe_appctx {
struct appctx *owner; /* the owner */
struct spoe_agent *agent; /* agent on which the applet is attached */
- unsigned int version; /* the negotiated version */
unsigned int flags; /* SPOE_APPCTX_FL_* */
unsigned int status_code; /* SPOE_FRM_ERR_* */
struct spoe_context *spoe_ctx; /* The SPOE context to handle */
goto out_error;
spoe_appctx->agent = agent;
- spoe_appctx->version = 0;
spoe_appctx->flags = 0;
spoe_appctx->status_code = SPOP_ERR_NONE;
spoe_appctx->spoe_ctx = ctx;
/* flags &= ~SPOE_APPCTX_FL_PIPELINING; */
/* } */
- /* SPOE_APPCTX(appctx)->version = (unsigned int)vsn; */
/* SPOE_APPCTX(appctx)->flags |= flags; */
spop_conn->max_frame_size = (unsigned int)max_frame_size;