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-5.0/src/main/java/io/opentelemetry/javaagent/instrumentation/hypertrace/servlet/v5_0/Servlet50AndFilterInstrumentation.java
+4
Original file line number
Diff line number
Diff line change
@@ -187,6 +187,9 @@ public static void exit(
187
187
188
188
if (!request.isAsyncStarted()) {
189
189
if (instrumentationConfig.httpHeaders().response()) {
190
+
if (throwable == null && !httpResponse.isCommitted()) {
191
+
httpResponse.flushBuffer();
192
+
}
190
193
for (StringheaderName : httpResponse.getHeaderNames()) {
0 commit comments