Skip to content

Compact response HTTP version log fields - #13568

Merged
bneradt merged 1 commit into
apache:masterfrom
bneradt:compact-http-version-log-fields
Aug 19, 2026
Merged

Compact response HTTP version log fields#13568
bneradt merged 1 commit into
apache:masterfrom
bneradt:compact-http-version-log-fields

Conversation

@bneradt

@bneradt bneradt commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

The sshv and csshv access log fields store two one-byte version
components as separate 64-bit integers, consuming 16 bytes per entry and
publishing dINT framing in binary log schemas.

This patch addresses the overhead by marshaling major.minor strings in
one 8-byte-aligned slot while preserving the existing HTTP/major.minor
ASCII form. It updates v3 schema expectations and regression coverage
for both fields.

Fixes: #12891

The sshv and csshv access log fields store two one-byte version
components as separate 64-bit integers, consuming 16 bytes per entry and
publishing dINT framing in binary log schemas.

This patch addresses the overhead by marshaling major.minor strings in
one 8-byte-aligned slot while preserving the existing HTTP/major.minor
ASCII form. It updates v3 schema expectations and regression coverage
for both fields.

Fixes: apache#12891
Copilot AI lite review requested due to automatic review settings August 18, 2026 23:07
@bneradt bneradt added this to the 11.0.0 milestone Aug 18, 2026
@bneradt bneradt self-assigned this Aug 18, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@maskit maskit left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if we should keep dINT.

@bneradt
bneradt merged commit 2119ac9 into apache:master Aug 19, 2026
15 checks passed
@bneradt
bneradt deleted the compact-http-version-log-fields branch August 19, 2026 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Log field sshv and csshv take 16 bytes for each

3 participants