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

QNAM => Status code=0, Error=Connection closed; Wireshark => Status code=200

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • None
    • 4.7.4, 4.8.1
    • Network, Network: Sockets
    • None
    • Maemo, Harmattan, Desktop (Windows)

      Hi,

      I do the unofficial Waze port to Qt and recently I have started moving a lot of code to use things that are already implemented in Qt (like get/post request handlers in this case). The following scenario occurs when attempting to perform a navigation and was verified on Maemo, Harmattan and Desktop Qt.

      Basically I perform a simple POST request, setting some request headers and add the request data. In the slot connected to the QNetworkAccessManager's finished slot I get status code 0 and the "Connection closed" error, but when I look at the TCP flow using Wireshark I can see that a response was actually receieved properly with status code 200.

      Attached is a small project I made that easily reproduce the issue against Waze servers and does nothing more but submit that request.

      Thanks,
      Assaf Paz

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

            shkearns Shane Kearns
            damagedspline Assaf Paz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes