Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Add handshake timeout #108

Open
Open
@gdamore

Description

@gdamore

With the recent integration of#96 /#102 -- we no longer hang the whole application while waiting for a handshake. But, handshaking of TCP, TLS+TCP, and IPC should complete in a timely fashion, and we should add a timeout that closes connections from peers that donot complete the handshake within a modest period of time.

We propose to set this to 5 seconds by default. Satellite connections can have very long (500ms or so) latencies, but 5 seconds should be sufficient for everywhere in local Earth orbit. Latency to the moon is about 1.3 sec.

One thing we could do to make this a little more forgiving is require forward progress, so that the handshake doesn't timeout in 5 absolute seconds, but times out if no progress is seen for 5 seconds.

This issue does not intend to address timeouts on established connections. That's an orthogonal issue and should be treated separately.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp