generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 152
Implement legacy callback with BIO_set_callback #2285
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
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
46a7c05
Updated parameters for BIOPairTest to cover combinations of callback …
kingstjo 1a30199
Updated TestPutsCallbacks to use BIOPairTest to cover combinations of…
kingstjo b1065db
Updated Tests to use BIOPairTest to cover combinations of callback an…
kingstjo 37f2f98
updated TestPutsCallback only takes in bool pair for callback type
kingstjo 09d1cfc
Updated comments, grouped callback_ex verifications
kingstjo 64c0088
Added old-style callback, replaced direct calls to callback_ex with g…
kingstjo f8b098b
Updated comment styling
kingstjo 4133a1f
Merge branch 'aws:main' into implement-callback-dump
kingstjo 505867d
arguments len and processed aren't handled for legacy callback, as we…
kingstjo 0263e2c
fixed signature BIO_callback_fn to properly reflect bio_ret as long
kingstjo 67fb72e
moved call_bio_callback_with_processed logic for len and processed fo…
kingstjo 326c5e2
BIO_write is now using get_callback instead of call_bio_callback_with…
kingstjo 47df038
BIO_read now uses get_callback instead of call_bio_callback_with_proc…
kingstjo f089882
BIO_gets now uses get_callback instead of call_bio_callback_with_proc…
kingstjo 31ff0fa
With router get_callback additional check for null made macro HAS_CAL…
kingstjo 47d035f
removed usage of macro HAS_LEN_OPER
kingstjo dff9ceb
Moved redundant callback return logic for operations using processed …
kingstjo 1672053
Added missing check before casting size_t to int
kingstjo c43447d
fixed indentations
kingstjo aa851be
moved assignment of return value into processed for read, write, puts…
kingstjo 5914acc
replace checks with assert in internal use function
kingstjo bb3caff
Updated comments to better reflect hanlding of additional arguments f…
kingstjo 022d32a
Fixed implicit casting long to int
kingstjo fa95ace
Added comments explaining reset of ret value
kingstjo 845c37f
Fixed spacing and inline declarations
kingstjo a56f411
properly check long is within INT bounds
kingstjo b23946d
removed added new lines
kingstjo 9a5f2b1
Updated callback_fn_wrap_ex to not use processed if callback returns 0
kingstjo 18362cd
add defensive assert for callback_fn_wrap_ex ensuring callback_ex is …
kingstjo 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
There are no files selected for viewing
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.
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.
Uh oh!
There was an error while loading. Please reload this page.