We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7272a28 commit cde3d48Copy full SHA for cde3d48
servlet/src/tomcatTest/java/io/grpc/servlet/TomcatTransportTest.java
@@ -93,6 +93,9 @@ public void start(ServerListener listener) throws IOException {
93
.setAsyncSupported(true);
94
ctx.addServletMappingDecoded("/*", "TomcatTransportTest");
95
tomcatServer.getConnector().addUpgradeProtocol(new Http2Protocol());
96
+ // Workaround for https://github.com/grpc/grpc-java/issues/12540
97
+ // Prevent premature OutputBuffer recycling by disabling facade recycling.
98
+ // This should be revisited once the root cause is fixed.
99
tomcatServer.getConnector().setDiscardFacades(false);
100
try {
101
tomcatServer.start();
0 commit comments