LCOV - code coverage report
Current view: top level - src - chttpclient.c (source / functions) Coverage Total Hit
Test: c_collections 2.0.0 Lines: 92.4 % 5926 5473
Test Date: 2026-11-15 18:57:05 Functions: 99.4 % 350 348
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by function hit count
async_race_decide_locked 0
chttpcli_atfork_child 0
async_on_error 1
async_on_error_impl 1
async_sink_close 1
chttp__async_chain_struct_size_for_tests 1
chttp__continue_sweep_arm_for_tests 1
chttp__ob_append_cap_overflow_for_tests 1
chttp__sink_buffered_cap_overflow_for_tests 1
chttp__sweep_fd_wait_arm_for_tests 1
chttp__sweep_fd_wait_held_for_tests 1
chttp__sweep_fd_wait_trace_for_tests 1
chttp__sweep_race_arm_for_tests 1
chttp__sweep_race_disarm_for_tests 1
chttp__sweep_race_release_for_tests 1
chttpcli__arm_stray_write_at_take_for_tests 1
chttpcli__arm_stray_write_before_take_for_tests 1
chttpcli__async_idle_timed_out_count_for_tests 1
chttpcli__clear_engine_user_logger_for_tests 1
chttpcli__engine_dns_pool_for_tests 1
chttpcli__engine_globals_entered_for_tests 1
chttpcli__engine_unjoined_reaper_for_tests 1
chttpcli__engine_wait_stopped_unjoined_for_tests 1
chttpcli__force_async_hard_read_error_once_for_tests 1
chttpcli__force_offer_push_fail_once_for_tests 1
chttpcli__force_reactivate_fail_once_for_tests 1
chttpcli__force_stray_idle_write_arm_once_for_tests 1
chttpcli__force_stray_write_arm_once_for_tests 1
chttpcli__hold_next_reaper_spawn_for_tests 1
chttpcli__hold_next_reaper_tail_for_tests 1
chttpcli__reaper_tail_was_left_for_tests 1
chttpcli__release_reaper_spawn_for_tests 1
chttpcli__reset_abandon_shutdown_probe_for_tests 1
chttpcli__stray_write_before_take_held_for_tests 1
chttpcli__tls_dir_block_attempts_for_tests 1
chttpcli__tls_dir_read_interest_while_writing_for_tests 1
chttpcli__tls_dir_write_interest_while_reading_for_tests 1
silent_attempt_fd_for_tests 1
chttp__concat_len_overflow_guard_for_tests 2
chttp__merge_ref_path_overflow_guard_for_tests 2
chttp__name_lookups_for_tests 2
chttp__ob_append_overflow_guard_for_tests 2
chttp__percent_encode_unix_path_overflow_guard_for_tests 2
chttp__seen_names_add_overflow_guard_for_tests 2
chttp__set_async_tls_first_read_cap_for_tests 2
chttp__set_connect_async_failures_for_tests 2
chttp__set_connect_short_delays_for_tests 2
chttp__set_expire_at_read_for_tests 2
chttp__short_next_capped_waits_for_tests 2
chttp__sink_buffered_overflow_guard_for_tests 2
chttp__stall_next_read_for_tests 2
chttp__stalled_read_resume_for_tests 2
chttp__sweep_due_for_tests 2
chttp__sweep_due_reset_for_tests 2
chttp__tier1_read_waits_for_tests 2
chttp__tier1_reads_for_tests 2
chttpcli__arm_idle_probe_hold_for_tests 2
chttpcli__engine_logger_for_tests 2
chttpcli__engine_num_reactor_threads_for_tests 2
chttpcli__field_rec_reads_for_tests 2
chttpcli__reaper_spawn_is_held_for_tests 2
chttpcli__reaper_tail_was_entered_for_tests 2
chttpcli__release_idle_probe_hold_for_tests 2
chttpcli__set_continue_carry_replay_delay_ms_for_tests 2
chttpcli__shutdown_async_idle_connections_for_tests 2
chttpcli__timeouts_for_tests 2
chttpcli__wait_idle_probe_held_for_tests 2
early_resp_eof 2
stray_before_take_wait_for_tests 2
sweep_race_park_for_tests 2
tls_client_create_failure_code 2
async_fulfill_success 3
async_writable_rest 3
chttp__addr_list_interleave_for_tests 3
chttp__async_hops_abandoned_for_tests 3
chttp__continue_sweep_release_for_tests 3
chttp__deadline_remaining_ms_for_tests 3
chttp__offer_entered_count_for_tests 3
chttpcli__free_index_count_for_tests 3
async_connect_failed 4
chttp__ms_elapsed_floor_for_tests 4
chttp__set_connect_attempt_delay_ms_for_tests 4
chttp__sweep_ticks_for_tests 4
chttp__tier1_continue_waits_for_tests 4
chttp__tls_client_handshake_for_tests 4
chttp_delete 4
chttpcli__force_reaper_spawn_fail_for_tests 4
chttpcli__hold_next_reaper_final_section_for_tests 4
chttpcli__idle_pools_async_key_count_for_tests 4
chttpcli__idle_pools_key_count_for_tests 4
chttpcli__set_max_idle_origins_for_tests 4
chttpcli__tls_dir_released_for_tests 4
chttpcli_set_engine_mem_mgmt_procs 4
percent_encode_unix_path_len 4
async_ctx_handle_if_abandoned 5
chttp__tls_client_create_code_for_tests 5
chttp_put 5
chttpcli__pin_count_for_tests 5
chttpcli__stray_write_arm_restores_for_tests 5
chttpcli_engine_wait 5
chttp_patch 6
chttpcli__slot_table_capacity_for_tests 6
chttp__deadline_remaining_ms_at_for_tests 7
sink_discard 7
chttp_test_continue_carry_replay_delay 8
chttpcli__reaper_final_section_was_entered_for_tests 8
chttpcli__tls_dir_inject_for_tests 8
async_submit_hop_fail 9
chttp__continue_deadline_stores_for_tests 9
chttp__set_name_lookup_delay_ms_for_tests 9
chttp__set_silent_addr_for_tests 9
chttpcli__force_next_free_index_push_failure_for_tests 9
chttpcli_do_pooled_streaming 9
chttpcli_reclaim_lost_index_locked 9
chttpcli_set_engine_logger 9
chttpcli__arm_create_fault_for_tests 10
early_resp_start_parser 10
concat_len 12
chttpcli_do_async_streaming 13
unix_connect 13
chttp_send_all 14
chttpcli_set_engine_num_reactor_threads 14
chttp__set_addr_override_for_tests 16
chttpcli_do_streaming 16
chttpcli_set_inactivity_timeout 16
chttpcli_set_max_response_body_size 17
connection_value_has_close 17
chttp__redirect_transport_check_for_tests 18
chttpcli__engine_reaper_abandoned_count_for_tests 18
chttpcli_set_connect_timeout 19
chttp_request_get_header 25
async_race_start 26
uri_userinfo_is_valid 27
chttpcli__reaper_created_count_for_tests 28
chttpcli__reaper_joined_count_for_tests 28
field_lines_combine 28
async_awaiting_continue_on_data 29
chttp__redirect_transport_allowed_for_tests 29
init_default_client 29
async_on_room 30
chttpcli__engine_release_for_tests 30
default_client_destroy_if_idle 30
sink_async_user 30
chttp_post 31
chttpcli__engine_acquire_for_tests 31
async_retry_hop 33
client_at_exit 33
client_atfork_install 33
client_deadline_init_globals 33
uri_ip_literal_is_valid 35
chttpcli_release_slot_table_locked 36
client_engine_globals_init 36
client_exit_hook_install 36
init_chttp1_settings 37
merge_ref_path 37
deadline_earlier 38
sweep_note_due_for_tests 38
chttpcli_any_slot_live_locked 39
cleanup_default_client 39
cleanup_engine_user_logger 39
async_race_tick 40
chttpcli_slot_table_init_globals 42
chttpcli__async_idle_total_count_for_tests 43
async_race_on_event 44
clone_headers_map 47
tls_handshake 48
chttp__resolve_redirect_url_for_tests 50
chttpcli_set_pool_size 50
origin_key_host_span 50
async_race_close_attempt_locked 52
async_race_on_removed 52
async_race_launch_locked 54
chttpcli__engine_running_for_tests 57
chttpcli_resp_header_count 68
async_fulfill 76
async_race_release 78
parse_chttp_unix_url 80
field_lines_add 85
field_lines_reserve 85
continue_sweep_park_for_tests 87
location_has_scheme 91
chttp__continue_sweep_parked_for_tests 96
chttp__sweep_race_parked_phase_for_tests 98
chttp__parse_url_for_tests 102
chttpcli_resp_header 110
is_redirect_credential_header 113
percent_decode_component 118
async_handle_redirect 119
conn_tls_wants_write 119
chttp_request_set_header 136
chttpcli_set_tls 147
async_tls_try_write 151
tls_client_create 158
field_lines_put 165
chttpcli_resp_header_at 167
chttp_get 169
chttpcli_set_request_timeout 175
async_reused_conn_is_clean 189
chttpcli_do_pooled 191
async_tls_advance 201
normalize_authority_ref 208
chttpcli_atfork_parent 219
chttpcli_atfork_prepare 219
chttpcli_atfork_unlock_all 219
idle_pool_offer 224
resp_occurrence 231
chttp_perform 240
chttpcli__force_async_idle_stale_for_tests 241
redirect_transport_allowed 245
seen_names_add 262
seen_names_contains 265
chttp_do_default 266
remove_dot_segments 273
chttpcli__resolve_for_tests 289
resolve_redirect_url_impl 295
chttp__offer_done_count_for_tests 301
sweep_race_take_forced_verdict_for_tests 301
chttp_default_client 308
field_lines_find 321
chttpcli__engine_wait_for_quiescence_for_tests 340
client_engine_wait_for_quiescence 340
async_idle_ctx_finish 346
async_idle_remove_locked 346
chttp_test_idle_probe_hold 347
reaper_final_hold_for_tests 406
reaper_tail_hold_for_tests 406
client_deadline_sweep_stop_and_join 409
client_engine_reaper_fn 409
reaper_spawn_hook_for_tests 409
client_engine_spawn_reaper 414
client_deadline_sweep_fn 419
async_ctx_finish 465
lower_name_copy 482
async_ctx_teardown 483
conn_teardown 524
tcp_connect 535
conn_open 548
async_idle_pool_offer 551
chttp__in_redirect_resolve_for_tests 574
parse_ctx_reset_for_continue 582
connect_attempt_delay_ms 598
client_deadline_sweep_once 606
client_engine_retry_abandoned_reap 606
chttpcli_do 620
slot_release 622
slot_acquire 625
chttp_do_internal 630
chttp_early_resp_finish 646
chttp_send_all_watch 648
chttp_read_message_loop 651
chttp_send_and_read 654
idle_pool_take 672
chttpcli_async_result_get 736
chttpcli_do_async 739
async_build_response 780
tls_dir_inject_blocks 809
async_connect_register 820
sweep_fd_wait_for_tests 826
async_ctx_destroy_now 833
async_race_detach 833
client_deadline_unregister 833
async_connect_begin 834
async_connect_task 834
client_deadline_register 834
async_ctx_create 841
conn_write 850
async_finish_connection 895
chttpcli_async_result_free 913
async_drive_write 916
async_chain_create 920
chttp_read_message 931
chttp_read_message_with 934
chttp_async_preflight_check 944
chttp_do_async_internal 944
conn_wait_io 946
conn_wait 994
async_idle_pool_take 1002
async_submit_hop 1016
async_on_writable 1020
async_on_writable_impl 1020
redirect_header_drops 1088
origin_keys_same 1102
chttpcli__abandon_shutdown_under_lock_for_tests 1201
field_rec_at 1289
async_input_pending 1313
async_parser_start 1319
addr_list_resolve 1333
addr_list_interleave 1353
addr_list_resolve_for_target 1359
addr_is_silent_for_tests 1389
addr_connect_start 1390
chttp_request_free 1453
chttp_request_create_mp 1470
client_engine_release_impl 1497
client_engine_acquire_impl 1505
client_deadline_note_ns 1679
scan_header_presence 1681
serialize_request 1683
tls_ctx_retry_if_oom_locked 1705
async_fulfill_chain 1808
client_engine_forget_inherited_locked 1871
client_deadline_note 1886
async_chain_release 1951
parse_ctx_free_fields 2030
http1_on_message_complete 2097
http1_on_headers_complete 2142
alloc_with_procs_copy 2205
chttpcli_resp_free 2310
client_engine_join_reaper_if_needed_locked 2508
url_free 2736
uri_reg_name_is_valid 2758
format_bracketed_host 2806
chttpcli_release_slot_table_if_deferred_locked 2810
chttpcli__destroy 2817
build_request_target 2819
chttpcli_free_index_release_locked 2819
chttpcli_handle_slot_acquire 2832
chttpcli_create_mp 2845
ccol_cond_var_init_monotonic 2873
parse_chttp_url 2902
rebuild_tls_ctx_body_locked 2993
deadline_make 3058
host_is_ip_literal 3528
async_room_watch_start 3545
async_upload_resume 3555
early_resp_feed 3556
async_replay_continue_carry 3572
async_upload_pause 3572
async_room_watch_stop 3656
field_lines_free 3891
async_plain_try_write 4400
async_reg_modify 4746
http1_on_header 4953
async_process_reading_data 5258
conn_inactivity_charge 5339
conn_read 5363
tls_dir_note_wait 5390
async_on_readable 5870
async_on_readable_impl 5871
async_dispatch_kind 6888
read_deadline_passed 7209
chttpcli__engine_ref_count_for_tests 8155
sink_buffered 9571
http1_on_body 9623
monotonic_now_ns 11834
deadline_remaining_ms_at 14151
deadline_remaining_ms 17145
ob_append 20330
uri_unreserved_or_sub_delim 25138
is_target_literal_byte 68733

Generated by: LCOV version 2.0-1