Uploaded image for project: 'Qt Safe Renderer'
  1. Qt Safe Renderer
  2. QSR-2258

EventSender does not work with bigger than 32767 port number

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • QSR 2.1.0 Beta 2
    • QSR 2.1
    • Adaptation
    • None

    Description

      When running QSR in host, it does not allow bigger port number than 32767.

      That is because of too small variable is reserved for the port:

          const QString ipAddress = qEnvironmentVariable("QT_SAFERENDER_HOST");
          const QString portStr = qEnvironmentVariable("QT_SAFERENDER_PORT");
          bool ok = false;
          const qint16 port = portStr.toShort(&ok);
          if (ok) {
              m_port = port;
          } else {
              m_port = 32112; //This is the default used in test harness.
          }

       

      Attachments

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

        Activity

          People

            qtsaferendererteam Qt Safe Renderer Team
            teemu.holappa Teemu Holappa
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes