websocket-spec
  1. websocket-spec
  2. WEBSOCKET_SPEC-183

Potential for developer error when configuring decoders and message handlers on programmatic endpoints.

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.0
    • Fix Version/s: 2.0
    • Labels:
      None

      Description

      For programmatic endpoints, the decoders are configured when creating the endpointconfig. i.e. before the endpoint is brought into service. But the message handlers are configured dynamically on the session object, i.e. after the endpoint has been brought into service.

      Since certain MessageHandlers may need specific Decoders, there is a potential for error since they are configured at different times.

      We should explore ways to configure them at the same time in the next version.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            dannycoward
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: