tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Biederich <fbied...@Adobe.COM>
Subject problems reading servlet input stream
Date Mon, 10 Jan 2000 15:37:30 GMT
Hi -

i've experienced problems with the new http connector class
(org.apache.tomcat.service.http.HttpAdapter) trying to read the servlet
input stream. The process is waiting for more bytes to come but all of
them had already been read!?

The older one (org.apache.tomcat.server.HttpServerConnector) took care
about the 'Content-Length' header (in
org.apache.tomcat.server.ConnectionHandler) which works fine in my

    public void run() {
	int contentLength = request.getIntHeader("content-length");

	if (contentLength != -1) {
		BufferedServletInputStream sis =

Any reasons why this code is not included in 

Best, Frank

View raw message