diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-03-09 13:19:22 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-03-09 13:19:22 +0000 |
commit | c21c3b0befeb46a51b6bf3758ffa30813bea0ff0 (patch) | |
tree | 9754ff1ca740f6346cf8483ec915d4054bc5da2d /web/server/web_client.h | |
parent | Adding upstream version 1.43.2. (diff) | |
download | netdata-c21c3b0befeb46a51b6bf3758ffa30813bea0ff0.tar.xz netdata-c21c3b0befeb46a51b6bf3758ffa30813bea0ff0.zip |
Adding upstream version 1.44.3.upstream/1.44.3
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'web/server/web_client.h')
-rw-r--r-- | web/server/web_client.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/web/server/web_client.h b/web/server/web_client.h index ff09fcd54..50f006dda 100644 --- a/web/server/web_client.h +++ b/web/server/web_client.h @@ -136,6 +136,8 @@ struct web_client { unsigned long long id; size_t use_count; + uuid_t transaction; + WEB_CLIENT_FLAGS flags; // status flags for the client WEB_CLIENT_MODE mode; // the operational mode of the client WEB_CLIENT_ACL acl; // the access list of the client @@ -207,13 +209,12 @@ ssize_t web_client_send(struct web_client *w); ssize_t web_client_receive(struct web_client *w); ssize_t web_client_read_file(struct web_client *w); -void web_client_process_request(struct web_client *w); +void web_client_process_request_from_web_server(struct web_client *w); void web_client_request_done(struct web_client *w); void buffer_data_options2string(BUFFER *wb, uint32_t options); void web_client_build_http_header(struct web_client *w); -char *strip_control_characters(char *url); void web_client_reuse_from_cache(struct web_client *w); struct web_client *web_client_create(size_t *statistics_memory_accounting); @@ -234,5 +235,6 @@ void web_client_timeout_checkpoint_set(struct web_client *w, int timeout_ms); usec_t web_client_timeout_checkpoint(struct web_client *w); bool web_client_timeout_checkpoint_and_check(struct web_client *w, usec_t *usec_since_last_checkpoint); usec_t web_client_timeout_checkpoint_response_ready(struct web_client *w, usec_t *usec_since_last_checkpoint); +void web_client_log_completed_request(struct web_client *w, bool update_web_stats); #endif |