You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TestReadInteraction does readHandler.OnReadRequest(nullptr, std::move(readRequestbuf)). That nullptr is the exchange pointer. That's not something that can ever happen in actual operation, and the code in ReadHandler has to do some hoop-jumping to handle this test-only case.
Proposed Solution
Exercise this more reasonably. Probably by actually dispatching the read request buffer via the exchange manager, so it creates an exchange, does the dispatch via the unsolicited message handler, etc.
When this is fixed, the workaround I am adding in ReadHandler::ProcessReadRequest for null exchange context should be removed.
The text was updated successfully, but these errors were encountered:
Problem
TestReadInteraction
doesreadHandler.OnReadRequest(nullptr, std::move(readRequestbuf))
. Thatnullptr
is the exchange pointer. That's not something that can ever happen in actual operation, and the code inReadHandler
has to do some hoop-jumping to handle this test-only case.Proposed Solution
Exercise this more reasonably. Probably by actually dispatching the read request buffer via the exchange manager, so it creates an exchange, does the dispatch via the unsolicited message handler, etc.
When this is fixed, the workaround I am adding in
ReadHandler::ProcessReadRequest
for null exchange context should be removed.The text was updated successfully, but these errors were encountered: