You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: instrumentation/servlet/servlet-3.0/src/main/java/io/opentelemetry/javaagent/instrumentation/hypertrace/servlet/v3_0/nowrapping/Servlet30AndFilterInstrumentation.java
+4
Original file line number
Diff line number
Diff line change
@@ -183,6 +183,9 @@ public static void exit(
183
183
184
184
if (!request.isAsyncStarted()) {
185
185
if (instrumentationConfig.httpHeaders().response()) {
186
+
if (throwable == null && !httpResponse.isCommitted()) {
187
+
httpResponse.flushBuffer();
188
+
}
186
189
for (StringheaderName : httpResponse.getHeaderNames()) {
0 commit comments