mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-03-15 03:53:43 +00:00
shorten messages
This commit is contained in:
@@ -563,8 +563,8 @@ static void _http_callback_stream(struct evhttp_request *request, void *v_server
|
|||||||
# endif
|
# endif
|
||||||
}
|
}
|
||||||
|
|
||||||
US_LOG_INFO("HTTP: Registered client: %s, id=%" PRIx64 "; clients now: %u",
|
US_LOG_INFO("HTTP: NEW client (now=%u): %s, id=%" PRIx64,
|
||||||
client->hostport, client->id, _RUN(stream_clients_count));
|
_RUN(stream_clients_count), client->hostport, client->id);
|
||||||
|
|
||||||
struct bufferevent *const buf_event = evhttp_connection_get_bufferevent(conn);
|
struct bufferevent *const buf_event = evhttp_connection_get_bufferevent(conn);
|
||||||
if (server->tcp_nodelay && !_RUN(ext_fd)) {
|
if (server->tcp_nodelay && !_RUN(ext_fd)) {
|
||||||
@@ -743,8 +743,8 @@ static void _http_callback_stream_error(UNUSED struct bufferevent *buf_event, UN
|
|||||||
}
|
}
|
||||||
|
|
||||||
char *const reason = us_bufferevent_format_reason(what);
|
char *const reason = us_bufferevent_format_reason(what);
|
||||||
US_LOG_INFO("HTTP: Disconnected client: %s, id=%" PRIx64 ", %s; clients now: %u",
|
US_LOG_INFO("HTTP: DEL client (now=%u): %s, id=%" PRIx64 ", %s",
|
||||||
client->hostport, client->id, reason, _RUN(stream_clients_count));
|
_RUN(stream_clients_count), client->hostport, client->id, reason);
|
||||||
free(reason);
|
free(reason);
|
||||||
|
|
||||||
struct evhttp_connection *const conn = evhttp_request_get_connection(client->request);
|
struct evhttp_connection *const conn = evhttp_request_get_connection(client->request);
|
||||||
|
|||||||
Reference in New Issue
Block a user