vcl: set deq notify flag on epoll connected sessions
Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I021f8e8bba247b0050d390a37dbc75900dc6a598
This commit is contained in:

committed by
Dave Barach

parent
8851ccfe4a
commit
1d84abc93e
@ -3098,6 +3098,10 @@ vcl_epoll_wait_handle_mq_event (vcl_worker_t * wrk, session_event_t * e,
|
||||
/* Generate EPOLLOUT because there's no connected event */
|
||||
if (!(EPOLLOUT & session_events))
|
||||
break;
|
||||
/* We didn't have a fifo when the event was added */
|
||||
svm_fifo_add_want_deq_ntf (
|
||||
(vcl_session_is_ct (s) ? s->ct_tx_fifo : s->tx_fifo),
|
||||
SVM_FIFO_WANT_DEQ_NOTIF_IF_FULL);
|
||||
add_event = 1;
|
||||
events[*num_ev].events = EPOLLOUT;
|
||||
session_evt_data = s->vep.ev.data.u64;
|
||||
|
Reference in New Issue
Block a user