--- a/src/server/proxy/httpclient.h Wed Mar 04 22:05:07 2026 +0100 +++ b/src/server/proxy/httpclient.h Thu Mar 05 21:06:41 2026 +0100 @@ -126,6 +126,8 @@ * * This function is called, when client->socketfd is ready to accept * new messages (http_client_add_message) + * + * If the callback returns 1, the websocket connection is terminated. */ int (*ws_msg_ready)(HttpClient *, void *); void *ws_msg_ready_userdata;