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

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

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes