TaylorCFrey commented on issue #7081:
URL:
https://github.com/apache/trafficcontrol/issues/7081#issuecomment-1254132232
Additionally, if the connection is closed by the client prematurely, a
different exception is thrown:
```java
ERROR 2022-09-21T16:40:25.925 [pool-14-thread-78]
org.apache.traffic_control.traffic_router.core.dns.protocol.TCP - null
java.io.EOFException: null
at java.io.DataInputStream.readFully(DataInputStream.java:202) ~[?:?]
at java.io.DataInputStream.readFully(DataInputStream.java:170) ~[?:?]
at
org.apache.traffic_control.traffic_router.core.dns.protocol.TCP$TCPSocketHandler.run(TCP.java:108)
[classes/:?]
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
[?:?]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
[?:?]
at java.lang.Thread.run(Thread.java:829) [?:?]
```
It would be beneficial to log a more descriptive error in this case as well
(including IP address if available).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]