Skip to content

Commit

Permalink
Update instrumentation/servlet/servlet-common/bootstrap/src/main/java…
Browse files Browse the repository at this point in the history
…/io/opentelemetry/javaagent/bootstrap/servlet/InjectionState.java

Co-authored-by: Mateusz Rzeszutek <[email protected]>
  • Loading branch information
oliver-zhang and Mateusz Rzeszutek authored Jun 20, 2023
1 parent a8275f9 commit 41c461d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "<head".length();
private final SnippetInjectingResponseWrapper wrapper;
private int headTagBytesSeen = 0;

Expand Down

0 comments on commit 41c461d

Please sign in to comment.