Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-126018

QGrpcClientStream and QGrpcBidirStream are missing a Finish() method

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 6.8
    • 6.7.1
    • GRPC
    • None
    • All

    Description

      When I open an outgoing message-stream from a client, I get a std::shared_ptr<QGrpcClientStream> value.

      I can send messages with stream->sendMessage(msg), and I can call stream->read<>() to get the the latest message in the streams "onFinished: handler. However, the handler is never called because I can't finish the stream from the client.

      In the standard async/callback gRPC interface, the client can call stream->StartWriteLast() or stream->startWritesDone() to tell the server it's done. 

      QGrpcBidirStream appeas to have the same limitation.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            semlanik Alexey Edelev
            jgaa Jarle Aase
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes