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

Graceful close is not implemented for sockets on Windows

    XMLWordPrintable

Details

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

    Description

      On Windows, whenever a close occurs, the socket is just closed even though it should be shutdown gracefully. This can cause problems if you try to connect to a http server only for it to give an error code and a message to go with it. In this case the connection should be kept alive long enough so that the message can be read before the connection gets closed.

      Since the data is discarded whenever a connection is closed in Qt then it will not get the chance to read this data as no graceful close was done.

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              andysh Andy Shaw
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes