8257707: Fix incorrect format string in Http1HeaderParser

Reviewed-by: shade
This commit is contained in:
Andrey Turbanov 2020-12-04 10:19:30 +00:00 committed by Daniel Fuchs
parent fbdc1877e2
commit c6f93ec9f2

View File

@ -96,9 +96,9 @@ class Http1HeaderParser {
headerName = headerName.substring(0, headerName.indexOf(':')+1) + "...";
msg = format("parsing HTTP/1.1 header, receiving [%s]", headerName);
} else {
msg =format("HTTP/1.1 parser receiving [%s]", state, sb.toString());
msg = format("HTTP/1.1 parser receiving [%s]", sb.toString());
}
return format("%s, parser state [%s]", msg , state);
return format("%s, parser state [%s]", msg, state);
}
/**