Skip to content

Connection lock issue in duplex TCP channel #85

Closed
@yallie

Description

@yallie

Suppose we have a client application that connects to multiple servers.

It works like this:

  1. Connect to server1 (success)
  2. Start pinging server1 (like calling a remote method every second)
  3. Connect to server2 (failure: server2 is offline)

While connection to server2 is in progress, the ping (3) seems to be blocked.
The ping is not sent to server1 until the connection to server2 times out.
Repro: https://gist.github.com/yallie/eac36078d201299174eb82c2721a7d43

Activity

added this to the 2.14 milestone on Jan 12, 2021
self-assigned this
on Jan 12, 2021
changed the title Lockup in ZyanConnection constructor TcpEx global lock issue on Jan 13, 2021
changed the title TcpEx global lock issue Connection lock issue in duplex TCP channel on Jan 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Connection lock issue in duplex TCP channel · Issue #85 · zyanfx/Zyan