Or better yet - let us folks at HttpClient know that you want changes.
Chances are, if you find them useful, someone else will too.
-Eric Johnson (occassional HttpClient contributor).
Davanum Srinivas (JIRA) wrote:
[ http://issues.apache.org/jira/browse/AXIS2-121?page=comments#action_12318096 ]
Davanum Srinivas commented on AXIS2-121:
----------------------------------------
After reviewing our code in org.apache.axis2.transport.http.SimpleHTTPServer
and reviewing Jetty and AXIS-2082. Here's what i think we should do.
- Pick the source code for the simple server from httpclient test
(http://svn.apache.org/viewcvs.cgi/jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/server/)
- Change the package name to org.apache.axis2.transport.http.server
- Don't touch the code we borrowed too much (will land up in trouble trying to
sync up later)
- Rewrite out SimpleHTTPServer based on this code and throw away out
HTTPWorker/ChunkedOutputStream etc. (all unnecessary code)
I believe this code in commons httpclient is much more robust than our code
(Remember, we are not in the business of writing a http server :). So we should
just use that code. I believe it will help with AXIS2-128 as well.
thanks,
dims