Skip to content

[HttpProtocolHandler] Access logs must be logged after request completion (not after connection close) #920

Open
@abhinavsingh

Description

@abhinavsingh

Summarized below are the cases that we need to handle to individually log h1 pipeline/h2 stream access logs as they finish and not after the connection is closed.

TL;DR

Except for Proxy Tunnel scenarios, we can always achieve the objective of this task.

Proxy Tunnel

In scenarios where client is establishing a HTTPS tunnel to upstream server, there is no way to detect when a certain (h1 pipelines/h2 stream) request has finished.

In TLS Interception mode, yes we can.

HTTP Proxy

For HTTP request proxy, yes we can.

Web Server

For web servers, yes we can.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good First IssueIssues for new contributors to pick-upTaskTasks & chores related to proxy.py

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions