Skip to content

Received client message string repeated within the same message #23

@mrandreastoth

Description

@mrandreastoth

Commit 50205fc introduces a simple manual client/server test program.

Issue

The test program fails when executing client sends in rapid succession, i.e., when hitting "Send from clients" multiple times in a row in which case some received messages appear as containing duplicated strings of the original message.

Steps to reproduce

  1. Run ClientServerTest (only tested under Windows 10)
  2. Click "Toggle server"
  3. Click the spin edit up button until the number 6 is displayed
  4. Click "Add clients"
  5. Rapidly click on of the "Send from clients" button a few times in succession

Observed behaviour

Some messages are flagged as CORRUPT. On inspecting any of these messages it can be seen that the reason for the message having been flagged is that the original message string has been repeated within the same message.

Expected behaviour

No messages are flagged as CORRUPT.

Note

This issue may be related to #20.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions