tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: ***SPAM*** Re: ***SPAM*** maxPostSize syntax
Date Mon, 06 Jun 2011 14:09:18 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David,

On 6/2/2011 8:12 AM, David kerber wrote:
> I would think overriding Integer.parseInt(), or adding an equivalent
> method to the code section that loads the various configuration files
> would be the most efficient way to do this globally.

Of course, overriding Integer.parseInt isn't a Good Idea, but using some
other integer-parsing routine everywhere in Tomcat might not be a bad
idea, especially for things where specifying magnitude using things like
"M", "G", etc. seems reasonable.

> I'd love to have this abbreviation capability, but I can barely keep up
> with my own company's code-writing needs, so I just use a calculator and
> enter the actual integer value where it's needed.

Log it in BZ. In this case, it should be nearly trivial. Extending it to
other places would be trivial in each case, but identifying those cases
is labor-intensive.

If you review the documentation and just mention every setting in the
enhancement request, it'll be much easier to implement.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3s344ACgkQ9CaO5/Lv0PDSugCfcpI6g0hffIpvXfu0BO30VXFe
SsYAn1iXnsgGxz5MLBxBrpfc6G7vD0SV
=/ypz
-----END PGP SIGNATURE-----

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


Mime
View raw message