-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Chuck,
Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:[EMAIL PROTECTED] >> Subject: Re: Performance problem on HTTP PUT of large binary data >> >> - From java.io.InputStream javadoc: >> "Reads some number of bytes from the input stream and stores >> them into the buffer array b. The number of bytes actually >> read is returned as an integer. This method blocks until >> input data is available, end of file is detected, or an >> exception is thrown." >> >> To me, that's a little vague. > > That's because InputStream is an abstract class; the actual behavior is > dependent on whatever concrete class is instantiated behind the method > definition. Of course. What I was trying to point out was that simply using a 32k byte array doesn't mean that each call to InputStream.read(byte[]) would return a full buffer. ServletOutputStream doesn't add anything to the Java API's documentation, so you can make no further assumptions. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD4DBQFGp6gm9CaO5/Lv0PARAhi2AJ0Y0aMAt/mkVHc8GNaneq0CY9g5YwCYoQTJ 0u19McjqofHkq/s24T+2bQ== =FFF9 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]