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

Ping extension uses an invalid timeout unit #226

Closed
NassimBtk opened this issue Jun 4, 2024 · 0 comments · Fixed by #227
Closed

Ping extension uses an invalid timeout unit #226

NassimBtk opened this issue Jun 4, 2024 · 0 comments · Fixed by #227
Assignees
Labels
bug Something isn't working

Comments

@NassimBtk
Copy link
Member

Problem

The InetAddress.isReachable method expects input in milliseconds, but the extension uses seconds for configuration. This discrepancy causes ICMP pings to fail due to an insufficient timeout value.

@NassimBtk NassimBtk self-assigned this Jun 4, 2024
@NassimBtk NassimBtk added the bug Something isn't working label Jun 4, 2024
NassimBtk added a commit that referenced this issue Jun 4, 2024
* Converted timeout value from seconds to milliseconds
NassimBtk added a commit that referenced this issue Jun 4, 2024
* Increased default timeout to 5 seconds.
@NassimBtk NassimBtk linked a pull request Jun 4, 2024 that will close this issue
NassimBtk added a commit that referenced this issue Jun 5, 2024
* Supported default protocol configurations.
NassimBtk added a commit that referenced this issue Jun 5, 2024
* Minor fixes in ExtensionProtocolsDeserializer.
NassimBtk added a commit that referenced this issue Jun 5, 2024
* Updated comment in ExtensionProtocolsDeserializerTest.
NassimBtk added a commit that referenced this issue Jun 5, 2024
…eout-unit-used-by-the-ping-extension

Issue #226: Bad timeout unit used by the ping extension
@iguitton iguitton changed the title Bad timeout unit used by the ping extension Ping extension uses an invalid timeout unit Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants