diff options
Diffstat (limited to 'src/vnet/session')
-rw-r--r-- | src/vnet/session/session.c | 2 | ||||
-rw-r--r-- | src/vnet/session/transport_types.h | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/vnet/session/session.c b/src/vnet/session/session.c index ffe29f9a293..77259ad76d3 100644 --- a/src/vnet/session/session.c +++ b/src/vnet/session/session.c @@ -2000,7 +2000,7 @@ session_main_init (vlib_main_t * vm) smm->poll_main = 0; smm->use_private_rx_mqs = 0; smm->no_adaptive = 0; - smm->last_transport_proto_type = TRANSPORT_PROTO_SRTP; + smm->last_transport_proto_type = TRANSPORT_PROTO_HTTP; return 0; } diff --git a/src/vnet/session/transport_types.h b/src/vnet/session/transport_types.h index 188c21ad9d5..adf5e59e6c0 100644 --- a/src/vnet/session/transport_types.h +++ b/src/vnet/session/transport_types.h @@ -21,10 +21,8 @@ #include <vnet/tcp/tcp_debug.h> #include <vppinfra/bihash_24_8.h> - #define TRANSPORT_MAX_HDRS_LEN 140 /* Max number of bytes for headers */ - typedef enum transport_dequeue_type_ { TRANSPORT_TX_PEEK, /**< reliable transport protos */ @@ -166,7 +164,8 @@ STATIC_ASSERT (sizeof (transport_connection_t) <= 128, _ (TLS, "tls", "J") \ _ (QUIC, "quic", "Q") \ _ (DTLS, "dtls", "D") \ - _ (SRTP, "srtp", "R") + _ (SRTP, "srtp", "R") \ + _ (HTTP, "http", "H") typedef enum _transport_proto { |