-
Notifications
You must be signed in to change notification settings - Fork 10
Enhance TLS testing with SNI, mTLS, certificate chain, and cancellation tests - part 1 #67
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
9 commits
Select commit
Hold shift + click to select a range
f861147
Enhance TLS testing with SNI, mTLS, certificate chain, and cancellati…
MungoG a7490ae
fix: make_socket_pair port allocation for parallel test execution
MungoG d249ac3
fix: epoll backend stop_token cancellation now actually cancels I/O
MungoG a285631
Fix CI issues
MungoG ad9d257
fix: mocket port allocation for parallel test execution
MungoG a07db3b
fix: CI Issues
MungoG ee2715c
fix: additional remediation on mocket and socket pair for intermitten…
MungoG 3784fc8
Fix potential IOCP race on synchronous completion
MungoG 8f706f7
Restore TLS test utilities lost during rebase
MungoG 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
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
Large diffs are not rendered by default.
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
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.
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.
🧩 Analysis chain
🏁 Script executed:
Repository: cppalliance/corosio
Length of output: 228
🏁 Script executed:
Repository: cppalliance/corosio
Length of output: 12110
🌐 Web query:
Boost CMake find_package asio filesystem components official documentation💡 Result:
CMake
find_package(Boost ...)for Asio and Filesystem (official docs)Boost.Filesystem (compiled library)
Use a Boost component and link the imported target:
CMake provides
Boost::<component>imported targets, and it also auto-adds implicit deps (e.g.,Boost::filesystem→Boost::system) when using these targets. [1]Boost.Asio (header-only by default)
Asio is header-only unless you opt into separate compilation. [2] So you typically don’t request an
asiocomponent; just use Boost headers:If your code (or other Boost libs you use) requires Boost.System: Boost.System has been header-only since Boost 1.69 (a compatibility “stub” library may still exist). [3]
Primary references
FindBoostmodule (components +Boost::...targets, implicit deps): [1]Sources: [1] https://cmake.org/cmake/help/latest/module/FindBoost.html | [2] https://www.boost.org/doc/libs/latest/doc/html/boost_asio/using.html | [3] https://www.boost.org/doc/libs/boost_1_81_0/more/getting_started/unix-variants.html
Filesystem and Asio must be included in
find_packagewhen tests are enabledLines 68-70 add
asioandfilesystemtoBOOST_COROSIO_INCLUDE_LIBRARIESwhen tests are enabled, but the fallbackfind_package(Boost REQUIRED COMPONENTS capy url system)at line 111 does not request these components. The subsequent fallback mechanism (lines 112-116) aliases missing targets toBoost::headers, which is incorrect forBoost::filesystem—a compiled library that requires proper linkage separate from headers alone.Proposed fix
🤖 Prompt for AI Agents