8000 TCPClient incorrect receive timeout · Issue #218 · dnsjava/dnsjava · GitHub
[go: up one dir, main page]

Skip to content
TCPClient incorrect receive timeout #218
Closed
@nguydavi

Description

@nguydavi

Hi,

I noticed that the TCPClient uses endTime as nanoseconds but this line still compares it with currentTimeMillis
https://github.com/dnsjava/dnsjava/blob/master/src/main/java/org/xbill/DNS/TCPClient.java#L115. This essentially makes the receive timeout being ignored.< 5ACA /p>

This was introduced in 629f2eb, and I don't know if there are other similar bugs in the other files that were changed.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0