summaryrefslogtreecommitdiffstats
path: root/web/server/web_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'web/server/web_client.h')
-rw-r--r--web/server/web_client.h6
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