This is the first draft of the refactored coyote connector.
authorcostin <costin@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 26 Nov 2009 06:35:43 +0000 (06:35 +0000)
committercostin <costin@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 26 Nov 2009 06:35:43 +0000 (06:35 +0000)
commitf478cab7fa9652989e59bf59ba5047ccde89e23a
tree704166d991be123d7b51b2537159d1b9e8dad178
parent857decb587a4ca778e3cbf126a42d0aff7cb1d0d
This is the first draft of the refactored coyote connector.
Lots of big changes:
- MessageBytes is gone - BBuffer, CBuffer are used as buffers, BBucket/CBucket are used for wrapping bytes
- C2B/B2C are gone - replaced by nio charsets in IOReader/IOWriter. CBuffer is still needed (instead of a StringBuilder ) to have
access to the raw chars and avoid copy
- speaking of copy, IOChannel uses a list of buffers instead of growing a buffer. For proxy we should be able to move
buffers from in to out.  This works a bit better with the char conversions, etc
- Nio code heavily refactored - I didn't add APR but shouldn't be hard if anyonew wants.
- Ssl is barely working - needs improvements

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@884410 13f79535-47bb-0310-9956-ffa450edef68
27 files changed:
modules/tomcat-lite/java/org/apache/tomcat/lite/io/BBucket.java [new file with mode: 0644]
modules/tomcat-lite/java/org/apache/tomcat/lite/io/BBuffer.java [new file with mode: 0644]
modules/tomcat-lite/java/org/apache/tomcat/lite/io/BufferedIOReader.java [new file with mode: 0644]
modules/tomcat-lite/java/org/apache/tomcat/lite/io/CBucket.java [new file with mode: 0644]
modules/tomcat-lite/java/org/apache/tomcat/lite/io/CBuffer.java [new file with mode: 0644]
modules/tomcat-lite/java/org/apache/tomcat/lite/io/DumpChannel.java [new file with mode: 0644]
modules/tomcat-lite/java/org/apache/tomcat/lite/io/FastHttpDateFormat.java [new file with mode: 0644]
modules/tomcat-lite/java/org/apache/tomcat/lite/io/FileConnector.java [new file with mode: 0644]
modules/tomcat-lite/java/org/apache/tomcat/lite/io/FileConnectorJavaIo.java [new file with mode: 0644]
modules/tomcat-lite/java/org/apache/tomcat/lite/io/Hex.java [new file with mode: 0644]
modules/tomcat-lite/java/org/apache/tomcat/lite/io/IOBuffer.java [new file with mode: 0644]
modules/tomcat-lite/java/org/apache/tomcat/lite/io/IOChannel.java [new file with mode: 0644]
modules/tomcat-lite/java/org/apache/tomcat/lite/io/IOConnector.java [new file with mode: 0644]
modules/tomcat-lite/java/org/apache/tomcat/lite/io/IOInputStream.java [new file with mode: 0644]
modules/tomcat-lite/java/org/apache/tomcat/lite/io/IOOutputStream.java [new file with mode: 0644]
modules/tomcat-lite/java/org/apache/tomcat/lite/io/IOReader.java [new file with mode: 0644]
modules/tomcat-lite/java/org/apache/tomcat/lite/io/IOWriter.java [new file with mode: 0644]
modules/tomcat-lite/java/org/apache/tomcat/lite/io/MemoryIOConnector.java [new file with mode: 0644]
modules/tomcat-lite/java/org/apache/tomcat/lite/io/NioChannel.java [new file with mode: 0644]
modules/tomcat-lite/java/org/apache/tomcat/lite/io/NioThread.java [new file with mode: 0644]
modules/tomcat-lite/java/org/apache/tomcat/lite/io/SocketConnector.java [new file with mode: 0644]
modules/tomcat-lite/java/org/apache/tomcat/lite/io/SocketIOChannel.java [new file with mode: 0644]
modules/tomcat-lite/java/org/apache/tomcat/lite/io/SslChannel.java [new file with mode: 0644]
modules/tomcat-lite/java/org/apache/tomcat/lite/io/SslConnector.java [new file with mode: 0644]
modules/tomcat-lite/java/org/apache/tomcat/lite/io/UrlEncoding.java [new file with mode: 0644]
modules/tomcat-lite/java/org/apache/tomcat/lite/io/WrappedException.java [new file with mode: 0644]
modules/tomcat-lite/java/org/apache/tomcat/lite/io/package.html [new file with mode: 0644]