Skip to content

feat: Make socket.io transport configurable in clp-config.yml #1092

@coderabbitai

Description

@coderabbitai

Description

Allow users to configure socket.io transport methods (websocket only, polling only, or both) through the clp-config.yml configuration file.

Background

Currently, socket.io uses the default transport configuration. Making this configurable would allow users to:

  • Optimize performance for their specific environment
  • Work around network restrictions that might block certain transport methods
  • Troubleshoot connectivity issues more effectively

Proposed Configuration

Add a new configuration option in clp-config.yml to specify the allowed transport methods:

webui:
  socket_io:
    transport: "ws"  # Options: "ws", "polling", "both"

Related

Requested by: @junhaoliao

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions