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

QFtp does not timeout while connecting using IP address and no route to host

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 4.5.3
    • Network
    • None

    Description

      If I try to connect to an ftp site with QFtp using an IP address while my
      computer is not connected to the internet, the connect hangs.
      I also tried the QFtp demo program and observed the same behavior.
      If I use the windows ftp program in a command window I receive an error right away.
      I also tried QTcpSocket since QFtp uses QAbstractSocket and I received a
      no 'route to host' error right away as expected.
      So it looks like it is QFtp that just does not timeout as it should.
      Platform: Windows XP sp3

      Attachments

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

        Activity

          People

            stormols Marius Storm-Olsen
            jbaleak Alan Heinold
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes