Skip to content

Commit 9fc5576

Browse files
committed
fix(log): fix start time being incorrect on some proxies
1 parent cebe618 commit 9fc5576

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/redirectionio_protocol.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ apr_status_t redirectionio_protocol_log(redirectionio_connection *conn, redirect
163163
response = response->next;
164164
}
165165

166-
log = redirectionio_api_create_log_in_json(ctx->request, response->status, ctx->response_headers, ctx->action, PROXY_VERSION_STR(PROXY_VERSION), response->request_time, r->connection->client_ip);
166+
log = redirectionio_api_create_log_in_json(ctx->request, response->status, ctx->response_headers, ctx->action, PROXY_VERSION_STR(PROXY_VERSION), response->request_time / 1000, r->connection->client_ip);
167167

168168
if (log == NULL) {
169169
return APR_EGENERAL;

0 commit comments

Comments
 (0)