diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-05-04 17:57:34 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-05-05 14:50:33 +0200 |
commit | 80b9db128393eaf457683421bbef40451bb0fd27 (patch) | |
tree | 2fd148ba948e1c2e4cd062963f44dda5873e4987 /lib/dynbuf.h | |
parent | e0af243b6165adc590c78c0b024805fb060b4f56 (diff) | |
download | curl-80b9db128393eaf457683421bbef40451bb0fd27.tar.gz |
quiche: enable qlog output
quiche has the potential to log qlog files. To enable this, you must
build quiche with the qlog feature enabled `cargo build --features
qlog`. curl then passes a file descriptor to quiche, which takes
ownership of the file. The FD transfer only works on UNIX.
The convention is to enable logging when the QLOGDIR environment is
set. This should be a path to a folder where files are written with the
naming template <SCID>.qlog.
Co-authored-by: Lucas Pardue
Replaces #5337
Closes #5341
Diffstat (limited to 'lib/dynbuf.h')
-rw-r--r-- | lib/dynbuf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dynbuf.h b/lib/dynbuf.h index 427269c68..b4932b535 100644 --- a/lib/dynbuf.h +++ b/lib/dynbuf.h @@ -58,5 +58,5 @@ size_t Curl_dyn_len(const struct dynbuf *s); #define DYN_RTSP_REQ_HEADER (64*1024) #define DYN_TRAILERS (64*1024) #define DYN_PROXY_CONNECT_HEADERS 16384 - +#define DYN_QLOG_NAME 1024 #endif |