tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Zubenko" <zube...@devexperts.com>
Subject RE: slow read from input stream.
Date Wed, 24 Nov 2004 14:52:54 GMT
The problem was on client-side. Client request was sent with pauses.
Sorry for inconvenience.

-----Original Message-----
From: Alexander Zubenko [mailto:zubenko@devexperts.com] 
Sent: Wednesday, November 24, 2004 2:35 PM
To: Tomcat Users List
Subject: slow read from input stream.

In tomcat 5.0.28 I do following:

 

HttpServletRequest request;

 

InputStream in = request.getInputStream();

 

in.read();

 

first call to read always takes aprox. 90 ms. I have discovered that
first call to in.read() calls public int realReadBytes(byte cbuf[], int
off, int len) method in InputBuffer. But why 90 ms. It seems too long.

 


 



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message