| 400 | } |
| 401 | |
| 402 | static void log_connection(HTTPContext *c) |
| 403 | { |
| 404 | if (c->suppress_log) |
| 405 | return; |
| 406 | |
| 407 | http_log("%s - - [%s] \"%s %s\" %d %"PRId64"\n", |
| 408 | inet_ntoa(c->from_addr.sin_addr), c->method, c->url, |
| 409 | c->protocol, (c->http_error ? c->http_error : 200), c->data_count); |
| 410 | } |
| 411 | |
| 412 | static void update_datarate(DataRateData *drd, int64_t count) |
| 413 | { |
no test coverage detected