| 645 | /* get the length of the field name for logging, but no more than 80 bytes */ |
| 646 | #define LOG_NAME_MAX_LEN 80 |
| 647 | static int field_name_len(const char *field) |
| 648 | { |
| 649 | const char *end = ap_strchr_c(field, ':'); |
| 650 | if (end == NULL || end - field > LOG_NAME_MAX_LEN) |
| 651 | return LOG_NAME_MAX_LEN; |
| 652 | return end - field; |
| 653 | } |
| 654 | |
| 655 | static int read_request_line(request_rec *r, apr_bucket_brigade *bb) |
| 656 | { |
no test coverage detected