You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by li...@apache.org on 2024/09/02 08:01:21 UTC
(servicecomb-java-chassis) branch 2.8.x updated: [#4477]Fix GoAway issue in Http2 after many requests timeout (#4508)
This is an automated email from the ASF dual-hosted git repository.
liubao pushed a commit to branch 2.8.x
in repository https://gitbox.apache.org/repos/asf/servicecomb-java-chassis.git
The following commit(s) were added to refs/heads/2.8.x by this push:
new ac905a5ab [#4477]Fix GoAway issue in Http2 after many requests timeout (#4508)
ac905a5ab is described below
commit ac905a5abeb9987423deda03100b0c2a3c70b022
Author: liubao68 <bi...@qq.com>
AuthorDate: Mon Sep 2 16:01:15 2024 +0800
[#4477]Fix GoAway issue in Http2 after many requests timeout (#4508)
---
.../vertx/http/VertxServerResponseToHttpServletResponse.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/foundations/foundation-vertx/src/main/java/org/apache/servicecomb/foundation/vertx/http/VertxServerResponseToHttpServletResponse.java b/foundations/foundation-vertx/src/main/java/org/apache/servicecomb/foundation/vertx/http/VertxServerResponseToHttpServletResponse.java
index 668ce0022..97b07405b 100644
--- a/foundations/foundation-vertx/src/main/java/org/apache/servicecomb/foundation/vertx/http/VertxServerResponseToHttpServletResponse.java
+++ b/foundations/foundation-vertx/src/main/java/org/apache/servicecomb/foundation/vertx/http/VertxServerResponseToHttpServletResponse.java
@@ -117,6 +117,9 @@ public class VertxServerResponseToHttpServletResponse extends AbstractHttpServle
}
public void internalFlushBuffer() {
+ if (serverResponse.closed()) {
+ return;
+ }
if (bodyBuffer == null) {
serverResponse.end();
return;