mirror of https://github.com/qt/qtgrpc.git
It's necessary not only to set the inner metadata when the setMetadata is called, but also when QQmlGrpcMetadata::data is changed. Otherwise the internal metadata value will not be in sync. As drive-by change, fix the usage of channel options in QGrpcHttp2Channel. Instead of storing the options duplicate in QGrpcHttp2Channel, use the QAbstractGrpcHttp2Channel copy. Make QAbstractGrpcHttp2Channel::channelOptions public. TODO: QGrpcHttp2Channel doesn't consider the changes of ssl configuration and serialization format when updating the channelOptions, but it should react respectively or disallow setting those at runtime. Pick-to: 6.8 Change-Id: I40cf8476679f83a2925d77bcd1d89f043a0b6e67 Reviewed-by: Dennis Oberst <dennis.oberst@qt.io> |
||
|---|---|---|
| .. | ||
| calloptions | ||
| channeloptions | ||
| client | ||
| http2channel | ||
| metadata | ||
| CMakeLists.txt | ||