Add three dates to struct hstream: the date the stream was created,
the date the request was fully received and the date the response
delay started. They will be used to report the real times in the
X-req and X-rsp headers, which always report 0 for now.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Aleksandar Lazic <al-haproxy@none.at>
int res_wait; /* time to wait before replying in ms */
int res_time;
enum http_meth_t req_meth;
+ ullong accept_ns; /* date the stream was created */
+ ullong req_eom_ns; /* date the request was fully received */
+ ullong wait_ns; /* date the response delay started */
};
#endif /* _HAPROXY_HSTREAM_T_H */