Re: sqlog partial

Tomas Mraz <[email protected]>
Newsgroups gmane.comp.encryption.openssl.user
Message-ID <[email protected]>
You could try calling fcloseall() before the exit() call.

Tomas Mraz, OpenSSL

On Wed, 2024-07-17 at 20:30 +0200, jean-frederic clere wrote:
> Hi,
> 
> I have built with enable-unstable-qlog, but when I exit (via exit(1))
> the sqlog files are truncated:
> +++
> ^^{"name":"transport:packet_received","data":{"header":{"packet_type"
> :"1RTT","packet_number":5,"dcid":"1f6cb8c5033c1937"},"datagram_id":3,
> "frames":[{"frame_type":"stream","stream_id":2,"offset":0,"payload_le
> ngth":0,"explicit_length":false,"length":2}]},"time":0}
> ^^{"name":"transport:packet_received","data":{"header":{"packet_type"
> :"1RTT","packet_number":6,"dcid":"1f6cb8c5033c1937"},"datagram_id":4,
> "frames":[{"frame_type":"stream","stream_id":2,"offset":45,"payload_l
> ength":12,"explicit_length":true,"length":4}]},"time":0}
> ^^{"name":"transport:packet_sen
> +++
> Is there a way to write the files before exiting?
> 

-- 
Tomáš Mráz, OpenSSL
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.