Skip to content

Use TRANSIENT buckets in mod_deflate output filters to save a little RAM/CPU#622

Open
notroj wants to merge 1 commit intoapache:trunkfrom
notroj:deflate-out-transient
Open

Use TRANSIENT buckets in mod_deflate output filters to save a little RAM/CPU#622
notroj wants to merge 1 commit intoapache:trunkfrom
notroj:deflate-out-transient

Conversation

@notroj
Copy link
Copy Markdown
Collaborator

@notroj notroj commented Mar 27, 2026

* modules/filters/mod_deflate.c (consume_buffer, flush_libz_buffer):
  Refactor to use flags parameter instead of int for controlling CRC
  updates and bucket type. Add TRANSIENT flag to create transient
  buckets when buffer content will be immediately sent down the filter
  chain.
  (deflate_out_filter, inflate_out_filter): Use transient buckets when
  flushing full output buffers.

  Refactor to use flags parameter instead of int for controlling CRC
  updates and bucket type. Add TRANSIENT flag to create transient
  buckets when buffer content will be immediately sent down the filter
  chain.
  (deflate_out_filter, inflate_out_filter): Use transient buckets when
  flushing full output buffers.
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