this patch changes the bio connector used on tomcat to java nio connector (non 
blocking)
once bio connector is deprecated
this patch was adapted from the original 
"0007-Use-bio-connector-explicitly.patch"

Signed-off-by: geraldo netto <[email protected]>
---
 ...plicitly.patch => 0007-Use-nio-connector-explicitly.patch} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename tomcat/patches/perf/{0007-Use-bio-connector-explicitly.patch => 
0007-Use-nio-connector-explicitly.patch} (91%)

diff --git a/tomcat/patches/perf/0007-Use-bio-connector-explicitly.patch 
b/tomcat/patches/perf/0007-Use-nio-connector-explicitly.patch
similarity index 91%
rename from tomcat/patches/perf/0007-Use-bio-connector-explicitly.patch
rename to tomcat/patches/perf/0007-Use-nio-connector-explicitly.patch
index 8c94c70..8cd4f74 100644
--- a/tomcat/patches/perf/0007-Use-bio-connector-explicitly.patch
+++ b/tomcat/patches/perf/0007-Use-nio-connector-explicitly.patch
@@ -1,7 +1,7 @@
 From 7fd558c61e1d5fd91d506e5346318b4bbcf19a5b Mon Sep 17 00:00:00 2001
 From: Asias He <[email protected]>
 Date: Wed, 16 Jul 2014 10:14:37 +0800
-Subject: [PATCH 1/2] Use bio connector explicitly
+Subject: [PATCH 1/2] Use nio connector explicitly
 
 ---
  conf/server.xml | 2 +-
@@ -16,7 +16,7 @@ index d5f8369..8f21a71 100644
           Define a non-SSL HTTP/1.1 Connector on port 8080
      -->
 -    <Connector port="8081" protocol="HTTP/1.1"
-+    <Connector port="8081" protocol="org.apache.coyote.http11.Http11Protocol"
++    <Connector port="8081" 
protocol="org.apache.coyote.http11.Http11NioProtocol"
                 connectionTimeout="20000"
                 maxThreads="800"
                 minSpareThreads="256"
-- 
2.17.1

-- 
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to