Set readyState to 3: CLOSED once the Get() stream is closed.
Details
Details
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
native/cpp/CommonCpp/grpc/ClientGetReadReactor.cpp | ||
---|---|---|
59 ↗ | (On Diff #9334) |
|
native/cpp/CommonCpp/grpc/ClientGetReadReactor.h | ||
31 ↗ | (On Diff #9334) | How about going for consistency? |
native/cpp/CommonCpp/grpc/ClientGetReadReactor.h | ||
---|---|---|
31 ↗ | (On Diff #9334) | Thanks for catching that, will update this diff with that change |
native/cpp/CommonCpp/grpc/ClientGetReadReactor.cpp | ||
---|---|---|
59 ↗ | (On Diff #9334) |
I don't think so? OnDone is called by the gRPC threads when the Get stream is closed . status gives us an idea of why it may have closed, but I think we only need to worry about setting readyState correctly. I definitely don't think we want to throw, we should be able to handle things gracefully with just readyState |