-
Notifications
You must be signed in to change notification settings - Fork 142
AMQP Session related fixes. #5299
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
LarryOsterman
merged 25 commits into
Azure:main
from
LarryOsterman:larryo/session_end_handle
Jan 30, 2024
Merged
Changes from 11 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
55dff8b
Implemented connection handle table to fix half closed session problem
LarryOsterman 7954879
Correctly handle session begin after connection is open
LarryOsterman faa2b1c
Start adding back multithreaded processor tests; clang-format
LarryOsterman b2983b2
build fixes to clang-format
LarryOsterman a9947da
Merge branch 'Azure:main' into larryo/session_end_handle
LarryOsterman 9966a26
cspell
LarryOsterman 6b7f4e0
Merge branch 'larryo/session_end_handle' of https://github.com/LarryO…
LarryOsterman 02c61ac
cspell2
LarryOsterman 1c0d89b
Fixed non-test build error
LarryOsterman a252abf
cspell
LarryOsterman 50d5710
added more tests to improve coverage
LarryOsterman d083ee4
Improved test coverage
LarryOsterman 09aee5c
Improved test coverage2
LarryOsterman fccafd5
Test fix
LarryOsterman 062bc17
Split out amqp settle mode to separate header; added test coverage fo…
LarryOsterman 0244466
PR feedback
LarryOsterman eb76aac
clang-format
LarryOsterman 2ae7809
clang-format; more code coverage
LarryOsterman 1d29501
Still more code coverage
LarryOsterman 624d849
clang-format
LarryOsterman bb9d692
bumped code coverage target to 88%
LarryOsterman 5d2416c
Pull request feedback
LarryOsterman e5e01e7
clang-format
LarryOsterman 25de134
Test fixes
LarryOsterman d263b63
Use absolute path for settle mode header
LarryOsterman 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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,6 +12,7 @@ | |
| "words": [ | ||
| "blang", | ||
| "dowork", | ||
| "performatives", | ||
| "SASLCLIENTIO", | ||
| "socketio", | ||
| "stringized", | ||
|
|
||
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
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
30 changes: 30 additions & 0 deletions
30
sdk/core/azure-core-amqp/inc/azure/core/amqp/internal/models/performatives/amqp_detach.hpp
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| // Copyright (c) Microsoft Corporation. | ||
| // Licensed under the MIT License. | ||
|
|
||
| // | ||
| // This file contains protocol level definitions for the AMQP protocol. | ||
|
|
||
| #pragma once | ||
|
|
||
| #include "azure/core/amqp/internal/models/amqp_error.hpp" | ||
|
|
||
| #include <cstdint> | ||
|
|
||
| namespace Azure { namespace Core { namespace Amqp { namespace Models { namespace _internal { | ||
| namespace Performatives { | ||
|
|
||
| /** Detach Performative (0x00000000:0x00000016) | ||
| * | ||
| * See | ||
| * https://docs.oasis-open.org/amqp/core/v1.0/os/amqp-core-transport-v1.0-os.html#type-detach | ||
| * for more information. | ||
| */ | ||
| class AmqpDetach { | ||
| public: | ||
| AmqpDetach() = default; | ||
|
|
||
| uint32_t Handle{}; | ||
| bool Closed{}; | ||
| AmqpError Error; | ||
| }; | ||
| }}}}}} // namespace Azure::Core::Amqp::Models::_internal::Performatives | ||
LarryOsterman marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
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.