mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-04-19 21:16:12 +00:00
shorten log about stream clients
This commit is contained in:
@@ -420,13 +420,8 @@ static void _http_callback_stream(struct evhttp_request *request, void *v_server
|
|||||||
}
|
}
|
||||||
|
|
||||||
evhttp_connection_get_peer(conn, &client_addr, &client_port);
|
evhttp_connection_get_peer(conn, &client_addr, &client_port);
|
||||||
LOG_INFO("HTTP: Registered the new stream client: [%s]:%u; id=%s; advance_headers=%s; dual_final_frames=%s; clients now: %u",
|
LOG_INFO("HTTP: Registered the new stream client: [%s]:%u; id=%s; clients now: %u",
|
||||||
client_addr,
|
client_addr, client_port, client->id, server->run->stream_clients_count);
|
||||||
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);
|
buf_event = evhttp_connection_get_bufferevent(conn);
|
||||||
bufferevent_setcb(buf_event, NULL, NULL, _http_callback_stream_error, (void *)client);
|
bufferevent_setcb(buf_event, NULL, NULL, _http_callback_stream_error, (void *)client);
|
||||||
|
|||||||
Reference in New Issue
Block a user