diff --git a/instrumentation/servlet/servlet-common/bootstrap/src/main/java/io/opentelemetry/javaagent/bootstrap/servlet/InjectionState.java b/instrumentation/servlet/servlet-common/bootstrap/src/main/java/io/opentelemetry/javaagent/bootstrap/servlet/InjectionState.java index 27ee3222f1bf..4fab06a3faae 100644 --- a/instrumentation/servlet/servlet-common/bootstrap/src/main/java/io/opentelemetry/javaagent/bootstrap/servlet/InjectionState.java +++ b/instrumentation/servlet/servlet-common/bootstrap/src/main/java/io/opentelemetry/javaagent/bootstrap/servlet/InjectionState.java @@ -8,7 +8,7 @@ // this is shared by both ServletOutputStream and PrintWriter injection public class InjectionState { private static final int HEAD_TAG_WRITTEN_FAKE_VALUE = -1; - private static final int HEAD_TAG_PREFIX_LENGTH = 4; + private static final int HEAD_TAG_PREFIX_LENGTH = "