From 758b5558f9487779c0f189c2dade0a5750a0a3a3 Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Mon, 5 Nov 2018 04:46:08 +0300 Subject: [PATCH] report about stream client params --- src/http.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/http.c b/src/http.c index 49991ec..57e0b1c 100644 --- a/src/http.c +++ b/src/http.c @@ -306,8 +306,14 @@ static void _http_callback_stream(struct evhttp_request *request, void *v_server evhttp_connection_get_peer(conn, &client_addr, &client_port); LOG_INFO( - "HTTP: Registered the new stream client: [%s]:%u; id=%s; clients now: %u", - client_addr, client_port, client->id, server->run->stream_clients_count + "HTTP: Registered the new stream client: [%s]:%u; id=%s;" + " advance_headers=%s; dual_final_frames=%s; clients now: %u", + client_addr, + client_port, + client->id, + bool_to_string(client->advance_headers), + bool_to_string(client->dual_final_frames), + server->run->stream_clients_count ); buf_event = evhttp_connection_get_bufferevent(conn);