diff options
author | Aloys Augustin <aloaugus@cisco.com> | 2019-07-03 16:59:43 +0200 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2019-07-03 16:30:11 +0000 |
commit | 0c7f54d489c66742903c460daa843ce048dbaf06 (patch) | |
tree | cb5213ba798af532ef407f753be9a2325a6a4f5a /src/vnet | |
parent | 3eea9de899f4affbe6695bb314989981fca8f234 (diff) |
quic: fifo notifications fix
Add SESSION_IO_EVT_RX handling in session_send_evt_to_thread to allow
internal apps to send rx events ("tx notifications") to quic.
Add a call to quic_send_packets in quic_custom_app_rx_callback to
ensure QUIC ACKs are sent if there is no other activity on the
connection.
Type: fix
Change-Id: I885e01e6475e5b0274f274e9dd34d4a771719e69
Signed-off-by: Aloys Augustin <aloaugus@cisco.com>
Diffstat (limited to 'src/vnet')
-rw-r--r-- | src/vnet/session/session.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/session/session.c b/src/vnet/session/session.c index 3732e4cb708..faaaad4bada 100644 --- a/src/vnet/session/session.c +++ b/src/vnet/session/session.c @@ -55,6 +55,7 @@ session_send_evt_to_thread (void *data, void *args, u32 thread_index, evt->rpc_args.fp = data; evt->rpc_args.arg = args; break; + case SESSION_IO_EVT_RX: case SESSION_IO_EVT_TX: case SESSION_IO_EVT_TX_FLUSH: case SESSION_IO_EVT_BUILTIN_RX: |