Skip to content

Commit 9b0ae0b

Browse files
committed
Fix error messages
1 parent ddccfaa commit 9b0ae0b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

client/src/main/java/org/asynchttpclient/netty/timeout/ReadTimeoutTimerTask.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public void run(Timeout timeout) throws Exception {
5252

5353
if (durationBeforeCurrentReadTimeout <= 0L) {
5454
// idleConnectTimeout reached
55-
String message = "Read timeout to " + remoteAddress + " of " + readTimeout + " ms";
55+
String message = "Read timeout to " + remoteAddress + " after " + readTimeout + " ms";
5656
long durationSinceLastTouch = now - nettyResponseFuture.getLastTouch();
5757
expire(message, durationSinceLastTouch);
5858
// cancel request timeout sibling

client/src/main/java/org/asynchttpclient/netty/timeout/RequestTimeoutTimerTask.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public void run(Timeout timeout) throws Exception {
4343
if (nettyResponseFuture.isDone())
4444
return;
4545

46-
String message = "Request timed out to " + remoteAddress + " of " + requestTimeout + " ms";
46+
String message = "Request timeout to " + remoteAddress + " after " + requestTimeout + "ms";
4747
long age = millisTime() - nettyResponseFuture.getStart();
4848
expire(message, age);
4949
}

0 commit comments

Comments
 (0)