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

Data sent through QLocalSocket to a blocked QLocalServer is lost on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 4.7.2
    • Network: Sockets
    • None
    • Windows

    Description

      On Windows, when a process running a QLocalServer is blocked (e.g. waiting for a client to finish) client processes can successfully connect with QLocalSocket::connectToServer, but writing data to the socket fails. Calling QLocalSocket::waitForBytesWritten results in a timeout and the data written to the socket is lost. On unix this works as expected, the server process is able to read the data sent by the client after it unblocks. The attached archive contains a minimal sample.

      Attachments

        1. localsocket.zip
          2 kB
          Jason Haslam
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            jasonhaslam Jason Haslam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes