-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Nick,
On 12/14/12 4:28 PM, Williams, Nick wrote: >> If it was using the global Content-length header, it would count >> not only the encoded data bytes, but also the parts separators, >> headers etc.. > >> So that's nice. It counts only the net data bytes, which is >> easier to compare to the size on disk of a file that you would >> upload. > > Indeed. A great explanation for why this would be done, and a much > more logical way to do it than just using Content-Length ("the > easy way out"). Also, Tomcat has to fully drain the input stream, anyway, so bombing "earlier" by checking the Content-Length doesn't actually improve anything. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEAREIAAYFAlDPbmsACgkQ9CaO5/Lv0PDEQgCfYIxtmmsCqWthDN5fciu4CYup l80An3Bt3nlSB0zfe3YN6ax1VHnnx7o/ =Eny7 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org