Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Obey timeout parameter on connection #1131

Merged
merged 3 commits into from
Oct 22, 2022
Merged

Conversation

alexrudd2
Copy link
Collaborator

Closes #1130

I'm not sure if it's worth having separate timeout parameters for the initial connection and subsequent requests. This takes the simpler approach

Copy link
Collaborator

@janiversen janiversen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about serial ?

tls uses tcp and udp is connectionless so they are covered.

@alexrudd2
Copy link
Collaborator Author

How about serial ?

tls uses tcp and udp is connectionless so they are covered.

OK, I made an attempt but cannot test it whatsoever right now.

Copy link
Collaborator

@janiversen janiversen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks.

@janiversen janiversen merged commit 931dc65 into pymodbus-dev:dev Oct 22, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No explicit timeout on client TCP/IP connections
2 participants