Lines Matching defs:proxy_event_thread_s
450 struct proxy_event_thread_s { struct
451 pthread_t thread_id;
452 struct event_base *base;
453 struct event notify_event; // listen event for the notify pipe/eventfd.
454 struct event beconn_event; // listener for backends in connect state
456 struct io_uring ring;
457 proxy_event_t ur_notify_event; // listen on eventfd.
458 proxy_event_t ur_benotify_event; // listen on eventfd for backend connections.
459 eventfd_t event_counter;
460 eventfd_t beevent_counter;
461 bool use_uring;
464 char *tls_wbuf;
465 size_t tls_wbuf_size;
467 pthread_mutex_t mutex; // covers stack.
468 pthread_cond_t cond; // condition to wait on while stack drains.
469 io_head_t io_head_in; // inbound requests to process.
470 be_head_t be_head; // stack of backends for processing.
471 beconn_head_t beconn_head_in; // stack of backends for connection processing.
473 int event_fd; // for request ingestion
474 int be_event_fd; // for backend ingestion
476 int notify_receive_fd;
477 int notify_send_fd;
478 int be_notify_receive_fd;
479 int be_notify_send_fd;
481 proxy_ctx_t *ctx; // main context.