Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.9
-
None
-
13
-
Foundation Sprint 116, Foundation Sprint 117, Foundation Sprint 118, Foundation Sprint 119, Foundation Sprint 120, Foundation Sprint 121, Foundation Sprint 122, Foundation Sprint 123, Foundation Sprint 124
Description
The proxy object "QGrpcOperationContext" which the internal Http2Handler uses to communicate with the RPC operation has some lifetime issues in combination with its corresponding (loose) Http2Handler counterpart.
Currently, for code like the following:
QCOMPARE_NE(streamPtr, client()->testMethodServerStream(request).get());
The right entry is creating and immediately destroying the object. In case of a active connection the current implementation will continue to process the request even though nothing to respond to is alive!
We need to improve the channel implementation to keep track of such cases (e.g. flagging handlers as dirty / dead) and do some cancellation.
Attachments
Issue Links
- is required for
-
QTBUG-129161 Various enhancements in Qt gRPC and Protobuf
- Open
Gerrit Reviews
For Gerrit Dashboard: QTBUG-129160 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
592254,7 | [WIP] QGrpcHttp2ChannelPrivate: respect operationContext lifetime | dev | qt/qtgrpc | Status: NEW | -2 | 0 |