Skip to content

Commit 50749b8

Browse files
committed
Fixed incorrect state logs in async client HTTP/1.1 protocol handler
1 parent 714155a commit 50749b8

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

httpcore5/src/main/java/org/apache/hc/core5/http/impl/nio/ClientHttp1StreamDuplexer.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,6 @@ boolean handleTimeout() {
391391

392392
@Override
393393
void appendState(final StringBuilder buf) {
394-
super.appendState(buf);
395394
super.appendState(buf);
396395
buf.append(", incoming=[");
397396
if (incoming != null) {

httpcore5/src/main/java/org/apache/hc/core5/http/impl/nio/ClientHttp1StreamHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ public void releaseResources() {
314314
void appendState(final StringBuilder buf) {
315315
buf.append("requestState=").append(requestState)
316316
.append(", responseState=").append(responseState)
317-
.append(", responseCommitted=").append(requestCommitted)
317+
.append(", requestCommitted=").append(requestCommitted)
318318
.append(", keepAlive=").append(keepAlive)
319319
.append(", done=").append(done);
320320
}

0 commit comments

Comments
 (0)