QGrpcHttp2Channel: fold the concrete-socket dispatch into a helper
The connect-timeout abort and the destructor flush duplicated the
socketType switch with its static_casts. Route both through a small
visitSocket() helper that invokes a callable with the socket downcast
to its concrete type.
Change-Id: Ie499f4fcdd0778d75fd295993fe717c7e1f5a9c0
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
| commit | d4b8b92a2968cfd811b8a1d3f15f874f04881ccf |
| parent | d02cd406d5ca0ddb51703c535c9aef9b9d4a3434 |
| author | Dennis Oberst <dennis.oberst@qt.io> |
| committer | Dennis Oberst <dennis.oberst@qt.io> |
| commit time | Mon, 17 Aug 2026 13:14:06 +0000 |