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

Not all frames are read if more than one is received via tcp

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 5.15.2
    • KNX
    • None
    • Linux

      During a tunneling connection (via TCP) to a KNX IP interface (MDT SCN-IP000.03), it sometimes happens that I receive more than one frame at once from the TCP socket. In this case, only the first frame is processed, and the second frame remains in the rxbuffer. It is only being processed once the next tcp read occurs, which in turn leaves the most recent frame in the buffer.

      The responsible code is in qknxnetipendpointconnection.cpp, lines 575ff. I attached a patch for qt 5.15.2 with the fix that I did to solve this issue for now.

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

            heimrich Karsten Heimrich
            ripach ripach
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes