Lines Matching refs:conf

102 		log_perror(r->conf.errh, __FILE__, __LINE__,  in connection_close()
105 if (r->conf.log_state_handling) { in connection_close()
106 log_error(r->conf.errh, __FILE__, __LINE__, in connection_close()
169 if (r->conf.log_state_handling) { in connection_handle_shutdown()
170 log_error(r->conf.errh, __FILE__, __LINE__, in connection_handle_shutdown()
225 const request_config * const restrict rconf = &con->request.conf; in connection_write_throttled()
317 if (r->conf.global_bytes_per_second_cnt_ptr) in connection_write_chunkqueue()
318 *(r->conf.global_bytes_per_second_cnt_ptr) += written; in connection_write_chunkqueue()
337 if (r->conf.global_bytes_per_second_cnt_ptr) in connection_write_1xx_info()
338 *(r->conf.global_bytes_per_second_cnt_ptr) += written; in connection_write_1xx_info()
439 log_error(r->conf.errh, __FILE__, __LINE__, in connection_handle_write()
481 log_error(r->conf.errh, __FILE__, __LINE__, in connection_handle_write_state()
614 h2r->conf.stream_request_body |= FDEVENT_STREAM_REQUEST_POLLIN; in connection_transition_h2()
683 const uint32_t max_request_field_size = r->conf.max_request_field_size; in connection_handle_read_state()
686 log_error(r->conf.errh, __FILE__, __LINE__, "%s", in connection_handle_read_state()
714 log_error(r->conf.errh, __FILE__, __LINE__, "%s (%s)", in connection_handle_read_state()
730 if (r->conf.high_precision_timestamps) in connection_handle_read_state()
761 else if (!con->is_ssl_sock && r->conf.h2proto in connection_handle_read_state()
769 if (r->conf.log_request_header) in connection_handle_read_state()
770 log_error_multiline(r->conf.errh, __FILE__, __LINE__, in connection_handle_read_state()
830 log_error(r->conf.errh, __FILE__, __LINE__, in connection_read_cq_err()
846 log_perror(r->conf.errh, __FILE__, __LINE__, in connection_read_cq_err()
898 return con->srv->network_backend_write(con->fd,cq,max_bytes,r->conf.errh); in connection_write_cq()
956 log_error(r->conf.errh, __FILE__, __LINE__, in __attribute_nonnull__()
969 if (r->conf.log_state_handling) in connection_state_machine_loop()
977 if (r->conf.high_precision_timestamps) in connection_state_machine_loop()
1068 r->conf.stream_request_body &= in connection_revents_err()
1070 r->conf.stream_request_body |= FDEVENT_STREAM_REQUEST_POLLRDHUP; in connection_revents_err()
1089 r->conf.stream_request_body |= FDEVENT_STREAM_REQUEST_TCP_FIN; in connection_revents_err()
1102 log_error(r->conf.errh, __FILE__, __LINE__, in connection_revents_err()
1124 if (!(r->conf.stream_request_body & FDEVENT_STREAM_REQUEST_POLLRDHUP)) in connection_set_fdevent_interest()
1133 if (r->conf.stream_request_body & FDEVENT_STREAM_REQUEST_POLLIN) in connection_set_fdevent_interest()
1135 if (!(r->conf.stream_request_body & FDEVENT_STREAM_REQUEST_POLLRDHUP)) in connection_set_fdevent_interest()
1234 if (r->conf.log_state_handling) in connection_state_machine_h2()
1245 || (r->conf.stream_response_body in connection_state_machine_h2()
1266 if (__builtin_expect( (r->conf.log_state_handling), 0)) in connection_state_machine_h2()
1326 h2r->conf.stream_request_body |= FDEVENT_STREAM_REQUEST_POLLIN; in connection_state_machine_h2()
1328 h2r->conf.stream_request_body &= ~FDEVENT_STREAM_REQUEST_POLLIN; in connection_state_machine_h2()
1343 if (r->conf.log_state_handling) in connection_state_machine_h1()
1386 if (cur_ts - con->read_idle_ts > rr->conf.max_read_idle) { in connection_check_timeout()
1388 if (rr->conf.log_request_handling) { in connection_check_timeout()
1389 log_error(rr->conf.errh, __FILE__, __LINE__, in connection_check_timeout()
1403 > r->conf.max_write_idle) { in connection_check_timeout()
1406 if (r->conf.log_timeouts) { in connection_check_timeout()
1407 log_error(r->conf.errh, __FILE__, __LINE__, in connection_check_timeout()
1415 (int)r->conf.max_write_idle); in connection_check_timeout()
1426 if (r->conf.log_request_handling) { in connection_check_timeout()
1427 log_error(r->conf.errh, __FILE__, __LINE__, in connection_check_timeout()
1442 if (cur_ts - con->read_idle_ts > r->conf.max_read_idle) { in connection_check_timeout()
1444 if (r->conf.log_request_handling) { in connection_check_timeout()
1445 log_error(r->conf.errh, __FILE__, __LINE__, in connection_check_timeout()
1455 if (r->conf.log_request_handling) { in connection_check_timeout()
1456 log_error(r->conf.errh, __FILE__, __LINE__, in connection_check_timeout()
1483 log_error(r->conf.errh, __FILE__, __LINE__, in connection_check_timeout()
1489 if (cur_ts - con->write_request_ts > r->conf.max_write_idle) { in connection_check_timeout()
1491 if (r->conf.log_timeouts) { in connection_check_timeout()
1492 log_error(r->conf.errh, __FILE__, __LINE__, in connection_check_timeout()
1499 (int)r->conf.max_write_idle); in connection_check_timeout()
1513 (r->conf.bytes_per_second == 0 in connection_check_timeout()
1515 < (off_t)r->conf.bytes_per_second * t_diff)) { in connection_check_timeout()
1574 r->conf.bytes_per_second = 0; /* disable rate limit */ in connection_graceful_shutdown_maint()
1575 r->conf.global_bytes_per_second = 0; /* disable rate limit */ in connection_graceful_shutdown_maint()
1644 const off_t max_request_size = (off_t)r->conf.max_request_size << 10; in connection_handle_read_post_chunked()
1660 log_error(r->conf.errh, __FILE__, __LINE__, in connection_handle_read_post_chunked()
1669 log_error(r->conf.errh, __FILE__, __LINE__, in connection_handle_read_post_chunked()
1676 log_error(r->conf.errh, __FILE__, __LINE__, in connection_handle_read_post_chunked()
1685 log_error(r->conf.errh, __FILE__, __LINE__, in connection_handle_read_post_chunked()
1712 < (off_t)r->conf.max_request_field_size) { in connection_handle_read_post_chunked()
1743 log_error(r->conf.errh, __FILE__, __LINE__, in connection_handle_read_post_chunked()
1758 log_error(r->conf.errh, __FILE__, __LINE__, in connection_handle_read_post_chunked()
1776 r->conf.errh)) { in connection_handle_read_post_chunked()
1788 log_error(r->conf.errh, __FILE__, __LINE__, in connection_handle_read_post_chunked()
1808 const off_t max_request_size = (off_t)r->conf.max_request_size << 10; in connection_handle_read_body_unknown()
1811 log_error(r->conf.errh, __FILE__, __LINE__, in connection_handle_read_body_unknown()
1871 !(r->conf.stream_request_body /*(if not streaming request body)*/ in connection_handle_read_post_state()
1874 : (r->conf.stream_request_body & FDEVENT_STREAM_REQUEST_BUFMIN) in connection_handle_read_post_state()
1919 chunkqueue_steal_with_tempfiles(dst_cq,cq,len,r->conf.errh)) { in connection_handle_read_post_state()
1928 r->conf.stream_request_body &= ~FDEVENT_STREAM_REQUEST_POLLIN; in connection_handle_read_post_state()
1941 r->conf.stream_request_body |= FDEVENT_STREAM_REQUEST_POLLIN; in connection_handle_read_post_state()
1942 return (r->conf.stream_request_body & FDEVENT_STREAM_REQUEST) in connection_handle_read_post_state()