diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-12-04 07:22:53 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2023-12-04 07:22:53 +0000 |
commit | e3c075c72d6b7b64c869b4cb0c0ff128b1d084cd (patch) | |
tree | dcb810bb5aa6a853672c6d8e749df508a2ae4e53 /src/tipideed/trace.c | |
parent | 691c9878f41d6646af38f417b23dfc72644a8c96 (diff) | |
download | tipidee-e3c075c72d6b7b64c869b4cb0c0ff128b1d084cd.tar.xz |
Use wallclock time for Date header in responses
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/tipideed/trace.c')
-rw-r--r-- | src/tipideed/trace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tipideed/trace.c b/src/tipideed/trace.c index 0e2ccac..1186675 100644 --- a/src/tipideed/trace.c +++ b/src/tipideed/trace.c @@ -19,7 +19,7 @@ int respond_trace (tipidee_rql const *rql, tipidee_headers const *hdr) size_t cl = 0 ; char fmt[SIZE_FMT] ; tipidee_response_status(buffer_1, rql, 200, "OK") ; - tipidee_response_header_writeall_g(buffer_1, g.rhdr, g.rhdrn, 0) ; + tipidee_response_header_writeall_G(buffer_1, g.rhdr, g.rhdrn, 0) ; buffer_putsnoflush(buffer_1, "Content-Type: message/http\r\nContent-Length: ") ; cl += strlen(tipidee_method_tostr(rql->m)) + 1; if (rql->uri.host) cl += 7 + rql->uri.https + strlen(rql->uri.host) ; |