]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-http: Add comments to http_client_request.*_time
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Thu, 31 Oct 2019 08:49:52 +0000 (10:49 +0200)
committertimo.sirainen <timo.sirainen@open-xchange.com>
Tue, 3 Dec 2019 23:39:04 +0000 (23:39 +0000)
src/lib-http/http-client-private.h

index 1d56e56ab090d1aef6128be6843d5c1b8e5ca452..bc49a5477bfdf07c00724ed383eeab42d53c1dff 100644 (file)
@@ -108,11 +108,22 @@ struct http_client_request {
        uoff_t payload_size, payload_offset;
        struct ostream *payload_output;
 
+       /* Time when request can be sent the next time. This is set by
+          http_client_request_delay*(). Default is 0 = immediately. Retries
+          can update this. */
        struct timeval release_time;
+       /* Time when http_client_request_submit() was called. */
        struct timeval submit_time;
+       /* Time when the request was first sent to the server. The HTTP
+          connection already exists at this time. */
        struct timeval first_sent_time;
+       /* Time when the request was last sent to the server (if it was
+          retried). */
        struct timeval sent_time;
+       /* Time when the HTTP response header was last received. */
        struct timeval response_time;
+       /* Time when the request will be aborted. Set by
+          http_client_request_set_timeout(). */
        struct timeval timeout_time;
        unsigned int timeout_msecs;
        unsigned int attempt_timeout_msecs;