chore: add test results section to README and tag routing logs with hostname
This commit is contained in:
+4
-2
@@ -708,8 +708,10 @@ static void handle_client_read(connection_t *conn) {
|
||||
}
|
||||
}
|
||||
|
||||
log_info("[ROUTING-FORWARD] Forwarding request for fd=%d: %s %s",
|
||||
conn->fd, conn->request.method, conn->request.uri);
|
||||
char routing_tag[16];
|
||||
snprintf(routing_tag, sizeof(routing_tag), "%-15.15s", conn->request.host);
|
||||
log_info("[%s] Forwarding request for fd=%d: %s %s",
|
||||
routing_tag, conn->fd, conn->request.method, conn->request.uri);
|
||||
|
||||
conn->vhost_stats = monitor_get_or_create_vhost_stats(conn->request.host);
|
||||
monitor_record_request_start(conn->vhost_stats, conn->request.is_websocket);
|
||||
|
||||
Reference in New Issue
Block a user