MAJOR: spoe: Rewrite SPOE applet to use the SPOP mux

It is the huge part of the series. The patch is not so huge, it removes
functions to produce or consume frames. The SPOE applet is pretty light
now. But since this patch, the SPOP multiplexer is now used. The SPOP mode
is now automatically ised for SPOP backends. So if there are bugs in the
SPOP multiplexer, they will be visible now.

The related issue is #2502.
This commit is contained in:
Christopher Faulet 2024-07-04 14:54:01 +02:00
parent 1bea73612a
commit cab98784d8
2 changed files with 48 additions and 814 deletions

View File

@ -144,8 +144,6 @@ struct spoe_agent {
char *name; /* Backend name used during conf parsing */ char *name; /* Backend name used during conf parsing */
} b; } b;
struct { struct {
unsigned int hello; /* Max time to receive AGENT-HELLO frame (in SPOE applet) */
unsigned int idle; /* Max Idle timeout (in SPOE applet) */
unsigned int processing; /* Max time to process an event (in the main stream) */ unsigned int processing; /* Max time to process an event (in the main stream) */
} timeout; } timeout;

File diff suppressed because it is too large Load Diff