Uploaded image for project: 'LWIP based TCP/IP'
  1. LWIP based TCP/IP
  2. PSLWIP-3

Socket RecvFrom Service repeats old data for TCP Stream

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: V3.0.15.0
    • Fix Version/s: V3.0.16.0
    • Labels:
      None
    • Account:
      SPC TCP_IP (SPCTCPIP)

      Description

      If the Socket RecvFrom Service is a TCP Socket with a buffer size smaller than the received TCP segment, the data will be returned in next Socket RecvFrom service again. The internal stream offset is not increased. Thus the RecvFrom service will become stuck on the old data as long as a small buffer is used.

      Workaround: Always read with maximum buffer size

        Attachments

          Issue Links

            Expenses

              Activity

                Status Description

                  People

                  • Reporter:
                    AMesser Andreas Messer
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    0 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved: