slow read from input stream.

2004-11-24 Thread Alexander Zubenko
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.

 

 ,

 

 



RE: slow read from input stream.

2004-11-24 Thread Alexander Zubenko
The problem was on client-side. Client request was sent with pauses.
Sorry for inconvenience.

-Original Message-
From: Alexander Zubenko [mailto:[EMAIL PROTECTED] 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]