Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add optional qlogging to quiche #379

Merged
merged 2 commits into from
Mar 26, 2020
Merged

add optional qlogging to quiche #379

merged 2 commits into from
Mar 26, 2020

Commits on Mar 26, 2020

  1. qlog: update to v0.2.0

    Previously, qlog API was designed to operate
    in a buffered mode. This required users
    to create a trace and hold it in memory,
    append events to it, and at the end
    serialize the whole thing.
    
    This change adds a streaming mode API that
    serializes qlog events immediately to a
    `Write` trait.
    
    A few quality-of-life changes have also
    been made.
    LPardue committed Mar 26, 2020
    Configuration menu
    Copy the full SHA
    0ad6542 View commit details
    Browse the repository at this point in the history
  2. libs/apps: add qlog support

    This change introduces qlog support into the quiche library as a new optional
    feature that is disabled by default. qlog occurs in addition to conventional
    Rust logging.
    
    To build quiche with qlog support do:
    
    cargo build --features qlog
    
    Rust applications can enable qlog on a per-connection basis via the `set_qlog()`
     method. C applications can use `quiche_conn_set_qlog_fd()`.
    
    Once qlog is enabled, qlog events are seralized in a streaming fashion to the
    target Write trait or file descriptor.
    LPardue committed Mar 26, 2020
    Configuration menu
    Copy the full SHA
    1646345 View commit details
    Browse the repository at this point in the history