-
Notifications
You must be signed in to change notification settings - Fork 74
Add Event timers and supporting utilities (+ lint and fmt) #31
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
Open
f5yacobucci
wants to merge
17
commits into
nginx:main
Choose a base branch
from
f5yacobucci:ava-subreq-depth
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
856f2ba
open up the subrequest flags so that others may be used
avahahn 3f5ef75
add a utility to return subrequest depth
avahahn f028d36
utility for getting response status
avahahn 48920cb
subrequest_depth should be subrequests_available to match underlying API
avahahn a3112a1
fix subrequests_available bug
avahahn 68393d1
dont mess up the subrequest
avahahn 431fde3
add getters/setters for status line
avahahn ee1335c
reveal access to output status_line
avahahn da973dc
need to accept any data
avahahn c3ebad1
this is way better than individual getters/setters
avahahn 250d5ce
add increment count, remove unsafe access to internals
avahahn ba676db
add event timer functions to wrapper
avahahn 06d58c6
add event bindings
avahahn 1214a90
extend interface for event binding
avahahn e2c8b50
add Into impelementation for convenience
avahahn ff337b9
implement post_to_queue
avahahn 053d88a
Code review notes
f5yacobucci File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev
Previous commit
Code review notes
- New log macro that accepts NGX_LOG_DEBUG bitmask filters - Add logging to events - Updated internal_redirect to call request methods: - ngx_named_location, ngx_internal_redirect which accepts args - Subrequest flags for masking and state - Subrequest accepts query parameters as the arg flag - Quelling lint errors and warnings - Quelling fmt workflow errors
- Loading branch information
commit 053d88a1f69ef5b8cff5e27e23507ad11a4855ee
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is that? when unsafe is used in the body of the fn, it is
safe
to invoke it, otherwise, the caller must useunsafe
tounsafe { str_to_uchar(...) }
. it is definitely might break many existing codes, let's keep it back.what's the reason?