From: geraldo netto <[email protected]>
Committer: Nadav Har'El <[email protected]>
Branch: master

update bio connector to nio

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]>
Message-Id: <[email protected]>

---
diff --git a/tomcat/patches/perf/0007-Use-nio-connector-explicitly.patch b/tomcat/patches/perf/0007-Use-nio-connector-explicitly.patch
--- a/tomcat/patches/perf/0007-Use-nio-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"

--
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