Skip to content

Accounting-suitable logging #2

@stuartpb

Description

@stuartpb

Talked with @tjfontaine about this at the Node on the Road office hours - he suggested creating a socket that's passed to the TLS connection constructor that pipes to a transform that simply counts bytes and logs them.

However, the tricky bit is tying the TLS-level logging to the HTTP-level logging, which he wasn't sure about (beyond diving into the undocumented private bits of the Socket interface).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions