1 Struct N_HTTP_SERVER_STATS
gullradriel edited this page 2026-10-25 10:46:33 +01:00

N_HTTP_SERVER_STATS

Module: HTTP SERVER: TLS or plain HTTP/1.1, deadlines, limits, keep-alive

counters, see n_http_server_stats()

#include "n_http_server.h"

Public Attributes

Name
unsigned long long tls_failures
failed TLS handshakes
unsigned long long timeouts
connections ended by a deadline
unsigned long long requests
requests answered
unsigned long long refused
connections refused (queue full, per-IP cap)
unsigned long long bad_requests
400 / 413 / 417 / 431 answered by the server
unsigned long long active
connections being served now
unsigned long long accepted
connections accepted

Public Attributes Documentation

variable tls_failures

unsigned long long tls_failures;

failed TLS handshakes

variable timeouts

unsigned long long timeouts;

connections ended by a deadline

variable requests

unsigned long long requests;

requests answered

variable refused

unsigned long long refused;

connections refused (queue full, per-IP cap)

variable bad_requests

unsigned long long bad_requests;

400 / 413 / 417 / 431 answered by the server

variable active

unsigned long long active;

connections being served now

variable accepted

unsigned long long accepted;

connections accepted