Projects
openEuler:24.03:SP1:Everything
tomcat
_service:tar_scm:CVE-2019-0199-7.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:CVE-2019-0199-7.patch of Package tomcat
diff -Nurp apache-tomcat-9.0.10-src/java/org/apache/coyote/http2/Stream.java apache-tomcat-9.0.10-src-bak/java/org/apache/coyote/http2/Stream.java --- apache-tomcat-9.0.10-src/java/org/apache/coyote/http2/Stream.java 2019-06-09 20:59:53.027000000 -0400 +++ apache-tomcat-9.0.10-src-bak/java/org/apache/coyote/http2/Stream.java 2019-06-09 21:02:31.878000000 -0400 @@ -211,7 +211,12 @@ class Stream extends AbstractStream impl } try { if (block) { - wait(handler.getProtocol().getStreamWriteTimeout()); + long writeTimeout = handler.getProtocol().getStreamWriteTimeout(); + if (writeTimeout < 0) { + wait(); + } else { + wait(writeTimeout); + } windowSize = getWindowSize(); if (windowSize == 0) { String msg = sm.getString("stream.writeTimeout"); @@ -889,7 +894,12 @@ class Stream extends AbstractStream impl log.debug(sm.getString("stream.inputBuffer.empty")); } - inBuffer.wait(handler.getProtocol().getStreamReadTimeout()); + long readTimeout = handler.getProtocol().getStreamReadTimeout(); + if (readTimeout < 0) { + inBuffer.wait(); + } else { + inBuffer.wait(readTimeout); + } if (reset) { throw new IOException(sm.getString("stream.inputBuffer.reset"));
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2