Skip to content

Read Deadline in Protocol TCP #204

Open
@j-baines

Description

@j-baines

conn.SetReadDeadline should be moved into protocol.TCPReadAmount. Looks like our implementations are calling it outside of the function and not always using the default timeout (protocol.GlobalCommTimeout)

_ = conn.SetReadDeadline(time.Now().Add(time.Duration(protocol.GlobalCommTimeout) * time.Second))

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions