mirror of
https://github.com/ReaJason/MemShellParty.git
synced 2026-09-22 07:00:43 +08:00
fix: close response outputstream in suo5v2
Docker Build Test / docker-build-test (push) Has been cancelled
MemShell IntegrationTest / xxljob (push) Has been cancelled
MemShell IntegrationTest / springwebmvc (push) Has been cancelled
MemShell IntegrationTest / springwebflux (push) Has been cancelled
MemShell IntegrationTest / struct2 (push) Has been cancelled
MemShell IntegrationTest / tomcat (push) Has been cancelled
MemShell IntegrationTest / glassfish (push) Has been cancelled
MemShell IntegrationTest / jbosseap (push) Has been cancelled
MemShell IntegrationTest / jetty (push) Has been cancelled
MemShell IntegrationTest / payara (push) Has been cancelled
MemShell IntegrationTest / wildfly (push) Has been cancelled
MemShell IntegrationTest / jbossas (push) Has been cancelled
MemShell IntegrationTest / resin (push) Has been cancelled
MemShell IntegrationTest / weblogic (push) Has been cancelled
MemShell IntegrationTest / websphere7 (push) Has been cancelled
MemShell IntegrationTest / websphere (push) Has been cancelled
Unit-Test / UniteTest (push) Has been cancelled
Docker Build Test / docker-build-test (push) Has been cancelled
MemShell IntegrationTest / xxljob (push) Has been cancelled
MemShell IntegrationTest / springwebmvc (push) Has been cancelled
MemShell IntegrationTest / springwebflux (push) Has been cancelled
MemShell IntegrationTest / struct2 (push) Has been cancelled
MemShell IntegrationTest / tomcat (push) Has been cancelled
MemShell IntegrationTest / glassfish (push) Has been cancelled
MemShell IntegrationTest / jbosseap (push) Has been cancelled
MemShell IntegrationTest / jetty (push) Has been cancelled
MemShell IntegrationTest / payara (push) Has been cancelled
MemShell IntegrationTest / wildfly (push) Has been cancelled
MemShell IntegrationTest / jbossas (push) Has been cancelled
MemShell IntegrationTest / resin (push) Has been cancelled
MemShell IntegrationTest / weblogic (push) Has been cancelled
MemShell IntegrationTest / websphere7 (push) Has been cancelled
MemShell IntegrationTest / websphere (push) Has been cancelled
Unit-Test / UniteTest (push) Has been cancelled
This commit is contained in:
@@ -183,7 +183,11 @@ public class Suo5v2 implements Runnable, HostnameVerifier, X509TrustManager {
|
||||
}
|
||||
} catch (Throwable ignored) {
|
||||
} finally {
|
||||
|
||||
try {
|
||||
OutputStream out = (OutputStream) response.getClass().getMethod("getOutputStream").invoke(response);
|
||||
out.flush();
|
||||
out.close();
|
||||
} catch (Throwable ignore) {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+5
-1
@@ -162,7 +162,11 @@ public class Suo5v2ControllerHandler implements Controller, Runnable, HostnameVe
|
||||
}
|
||||
} catch (Throwable e) {
|
||||
} finally {
|
||||
|
||||
try {
|
||||
OutputStream out = resp.getOutputStream();
|
||||
out.flush();
|
||||
out.close();
|
||||
} catch (Throwable ignored) {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+5
-1
@@ -167,7 +167,11 @@ public class Suo5v2Filter implements Filter, Runnable, HostnameVerifier, X509Tru
|
||||
}
|
||||
} catch (Throwable e) {
|
||||
} finally {
|
||||
|
||||
try {
|
||||
OutputStream out = resp.getOutputStream();
|
||||
out.flush();
|
||||
out.close();
|
||||
} catch (Throwable ignored) {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+5
-1
@@ -179,7 +179,11 @@ public class Suo5v2Interceptor implements AsyncHandlerInterceptor, Runnable, Hos
|
||||
}
|
||||
} catch (Throwable e) {
|
||||
} finally {
|
||||
|
||||
try {
|
||||
OutputStream out = resp.getOutputStream();
|
||||
out.flush();
|
||||
out.close();
|
||||
} catch (Throwable ignored) {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+5
-1
@@ -216,7 +216,11 @@ public class Suo5v2JettyCustomizer implements HttpConfiguration.Customizer, Runn
|
||||
}
|
||||
} catch (Throwable ignored) {
|
||||
} finally {
|
||||
|
||||
try {
|
||||
OutputStream out = (OutputStream) response.getClass().getMethod("getOutputStream").invoke(response);
|
||||
out.flush();
|
||||
out.close();
|
||||
} catch (Throwable ignore) {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+5
-1
@@ -178,7 +178,11 @@ public class Suo5v2JettyHandler implements Runnable, HostnameVerifier, X509Trust
|
||||
}
|
||||
} catch (Throwable e) {
|
||||
} finally {
|
||||
|
||||
try {
|
||||
OutputStream out = (OutputStream) response.getClass().getMethod("getOutputStream").invoke(response);
|
||||
out.flush();
|
||||
out.close();
|
||||
} catch (Throwable ignored) {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+5
-1
@@ -173,7 +173,11 @@ public class Suo5v2Listener implements ServletRequestListener, Runnable, Hostnam
|
||||
}
|
||||
} catch (Throwable e) {
|
||||
} finally {
|
||||
|
||||
try {
|
||||
OutputStream out = resp.getOutputStream();
|
||||
out.flush();
|
||||
out.close();
|
||||
} catch (Throwable ignored) {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+5
-1
@@ -161,7 +161,11 @@ public class Suo5v2Servlet implements Servlet, Runnable, HostnameVerifier, X509T
|
||||
}
|
||||
} catch (Throwable e) {
|
||||
} finally {
|
||||
|
||||
try {
|
||||
OutputStream out = resp.getOutputStream();
|
||||
out.flush();
|
||||
out.close();
|
||||
} catch (Throwable ignored) {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+5
-1
@@ -164,7 +164,11 @@ public class Suo5v2Struct2Action implements Runnable, HostnameVerifier, X509Trus
|
||||
}
|
||||
} catch (Throwable e) {
|
||||
} finally {
|
||||
|
||||
try {
|
||||
OutputStream out = resp.getOutputStream();
|
||||
out.flush();
|
||||
out.close();
|
||||
} catch (Throwable ignored) {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+5
-1
@@ -164,7 +164,11 @@ public class Suo5v2UndertowServletHandler implements Runnable, HostnameVerifier,
|
||||
}
|
||||
} catch (Throwable e) {
|
||||
} finally {
|
||||
|
||||
try {
|
||||
OutputStream out = (OutputStream) response.getClass().getMethod("getOutputStream").invoke(response);
|
||||
out.flush();
|
||||
out.close();
|
||||
} catch (Throwable ignored) {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+5
-1
@@ -167,7 +167,11 @@ public class Suo5v2Valve implements Valve, Runnable, HostnameVerifier, X509Trust
|
||||
}
|
||||
} catch (Throwable e) {
|
||||
} finally {
|
||||
|
||||
try {
|
||||
OutputStream out = resp.getOutputStream();
|
||||
out.flush();
|
||||
out.close();
|
||||
} catch (Throwable ignored) {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user