Change qlog file extension to .sqlog
Change qlog file extension to .sqlog because upstream ngtcp2 moves to JSON-SEQ streaming qlog format.
This commit is contained in:
parent
c20d175ff2
commit
089fc81d72
|
@ -2245,11 +2245,10 @@ Options:
|
||||||
to buffering. Status code is -1 for failed streams.
|
to buffering. Status code is -1 for failed streams.
|
||||||
--qlog-file-base=<PATH>
|
--qlog-file-base=<PATH>
|
||||||
Enable qlog output and specify base file name for qlogs.
|
Enable qlog output and specify base file name for qlogs.
|
||||||
Qlog is emitted for each connection.
|
Qlog is emitted for each connection. For a given base
|
||||||
For a given base name "base", each output file name
|
name "base", each output file name becomes
|
||||||
becomes "base.M.N.qlog" where M is worker ID and N is
|
"base.M.N.sqlog" where M is worker ID and N is client ID
|
||||||
client ID (e.g. "base.0.3.qlog").
|
(e.g. "base.0.3.sqlog"). Only effective in QUIC runs.
|
||||||
Only effective in QUIC runs.
|
|
||||||
--connect-to=<HOST>[:<PORT>]
|
--connect-to=<HOST>[:<PORT>]
|
||||||
Host and port to connect instead of using the authority
|
Host and port to connect instead of using the authority
|
||||||
in <URI>.
|
in <URI>.
|
||||||
|
|
|
@ -441,7 +441,7 @@ int Client::quic_init(const sockaddr *local_addr, socklen_t local_addrlen,
|
||||||
path += util::utos(worker->id);
|
path += util::utos(worker->id);
|
||||||
path += '.';
|
path += '.';
|
||||||
path += util::utos(id);
|
path += util::utos(id);
|
||||||
path += ".qlog";
|
path += ".sqlog";
|
||||||
quic.qlog_file = fopen(path.c_str(), "w");
|
quic.qlog_file = fopen(path.c_str(), "w");
|
||||||
if (quic.qlog_file == nullptr) {
|
if (quic.qlog_file == nullptr) {
|
||||||
std::cerr << "Failed to open a qlog file: " << path << std::endl;
|
std::cerr << "Failed to open a qlog file: " << path << std::endl;
|
||||||
|
|
|
@ -3353,7 +3353,7 @@ HTTP/3 and QUIC:
|
||||||
frontend QUIC connections. A qlog file is created per
|
frontend QUIC connections. A qlog file is created per
|
||||||
each QUIC connection. The file name is ISO8601 basic
|
each QUIC connection. The file name is ISO8601 basic
|
||||||
format, followed by "-", server Source Connection ID and
|
format, followed by "-", server Source Connection ID and
|
||||||
".qlog".
|
".sqlog".
|
||||||
--frontend-quic-require-token
|
--frontend-quic-require-token
|
||||||
Require an address validation token for a frontend QUIC
|
Require an address validation token for a frontend QUIC
|
||||||
connection. Server sends a token in Retry packet or
|
connection. Server sends a token in Retry packet or
|
||||||
|
|
|
@ -2704,7 +2704,7 @@ int Http3Upstream::open_qlog_file(const StringRef &dir,
|
||||||
util::format_iso8601_basic(buf.data(), std::chrono::system_clock::now());
|
util::format_iso8601_basic(buf.data(), std::chrono::system_clock::now());
|
||||||
path += '-';
|
path += '-';
|
||||||
path += util::format_hex(scid.data, scid.datalen);
|
path += util::format_hex(scid.data, scid.datalen);
|
||||||
path += ".qlog";
|
path += ".sqlog";
|
||||||
|
|
||||||
int fd;
|
int fd;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue