Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logging enhancements and apache24 updates #47

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

sosherof
Copy link

@sosherof sosherof commented Dec 2, 2021

  • Added additional logging statements.
  • Removed all #ifdef _DEBUG around existing logging statements, allow LogLevel to decide.
  • Code now inserts an input header "X-SENDFILE-INVOKED" before making a subrequest. The sub-request can cause mod_rewrite to fire a second time. The header allows a RewriteCond to be used to skip any rules that should not re-apply.
  • Replaced code that inserts the requested file into buckets with the newer apr_bridge_insert_file command, which properly handles large files.
  • Replace code that empties the incoming brigade with apr_brigade_cleanup, which does the same thing but in one command.
  • Added APLOG_USE_MODULE statement to allow module level logging.

- Added additional logging.
- Removed all #ifdef _DEBUG around existing logging statements, allow LogLevel to decide.
- Code now inserts an input header "X-SENDFILE-INVOKED" before making a subrequest, which can cause mod_rewrite to fire a second time.  The header allows a RewriteCond to be used to skip any rules that should not re-apply.
- Replaced code that insert the requested file into buckets with the newer apr_bridge_insert_file command, which properly handles large files.
- Replace code that empties the incoming brigade with apr_brigade_cleanup, which does the same thing but in one command.
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