Skip to content

Allow long polling through HTTPS inspection - #23

Merged
biancarosa merged 1 commit into
mainfrom
fix/inspection-long-poll
Sep 18, 2026
Merged

biancarosa merged 1 commit into
mainfrom
fix/inspection-long-poll

Conversation

@biancarosa

Copy link
Copy Markdown
Collaborator

The inspection transport's fixed 30-second response-header timeout returns 502 for APIs that legitimately long-poll for 30 seconds. Remove that fixed deadline by default and expose --inspection-response-header-timeout for users who want a finite limit. Client cancellation, TLS handshake deadlines, and idle connection limits still apply.

Add regression coverage for delayed headers, explicit deadline enforcement, body capture, and configuration propagation. NETKIT_LONG_POLL_TEST=1 runs the polling scenario with a real 31-second wait.

Validation: full make ci, final lint and configuration checks, and the 31-second polling regression with the race detector.

@biancarosa
biancarosa merged commit e6d3b48 into main Sep 18, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant