5 Struct SRV
gullradriel edited this page 2026-10-09 00:55:18 +02:00

SRV

server worker context

Public Attributes

Name
char[3][32] selected
what ALPN the server answered per round
int rounds_done
how many connections it served
int ok
set to 1 once the server completed the exchange
NETWORK * listen
the listening socket
int h2_requests
requests served over HTTP/2
char[128] h2_path
the :path of the last HTTP/2 request
SSL_CTX * ctx
shared server ctx (owned by main)
CA_CTX * ca
the CA to mint leaves with

Public Attributes Documentation

variable selected

char[3][32] selected;

what ALPN the server answered per round

variable rounds_done

int rounds_done;

how many connections it served

variable ok

int ok;

set to 1 once the server completed the exchange

variable listen

NETWORK * listen;

the listening socket

listening NETWORK

variable h2_requests

int h2_requests;

requests served over HTTP/2

variable h2_path

char[128] h2_path;

the :path of the last HTTP/2 request

variable ctx

SSL_CTX * ctx;

shared server ctx (owned by main)

variable ca

CA_CTX * ca;

the CA to mint leaves with