You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by GOMEZ Henri <hg...@slib.fr> on 2001/08/28 22:13:45 UTC
RE: cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/util/t
estHeader.java HttpRequest.java
>-----Original Message-----
>From: Schreibman, David [mailto:DSchreibman@eTranslate.com]
>Sent: Tuesday, August 28, 2001 5:17 PM
>To: 'tomcat-dev@jakarta.apache.org'
>Subject: RE: cvs commit:
>jakarta-tomcat/src/share/org/apache/tomcat/util/t estHeader.java
>HttpRequest.java
>
>
>For whatever it's worth, here are some changes I made to the
>3.2.2 code base
>to add support for chunked requests. I just did the work a
>few days ago and
>am still in the process of moving them to 3.3. Still, since
>the topic came
>up now I thought it would be helpful to share my approach. I have been
>running some heavy stress tests on this and have not seen any
>problems yet.
>It would be great to run the changes through some unit tests as well.
You may have noticed that mod_jk in TC 3.3 is
different from the one in TC 3.2.
Also Ajp13 in Tomcat 3.3 (java) is also different since using
directly InputStream.
And mod_jk in jakarta-tomcat-connectors is
also very different since there was some refactoring.
>From what I saw it seems you're on the right way,
and I'm waiting to see your port to TC 3.3.
Or if you like, I could try to port it to both 3.3 and J-T-C.
I've got many questions here and some refactory should be
done on that part of the code later, I don't like very much
the way the communication is done. May be something to rewrite
completly to Ajp14, adding others new commands (CHUNKED-DATA).
The goal will be to have a simpler (and so fastest) way to
do the transfert.
Questions :
- Does the java part need to know that the incoming data came in CHUNKED ?
- Should we add others HTTP/1.1 commands like Range, Accept-Ranges, CONNECT
?
What do you think about that ?