Maximal length for :bytes?
Julien ÉLIE
julien at trigofacile.com
Thu Sep 4 20:53:00 UTC 2008
Hi,
The buffer which contains the :bytes metadata is currently limited to 6 digits;
therefore, its value is incorrect for articles whose length exceed 999,999 octets.
In fact, it is stocked in a char buff[16] and the buff is "Bytes: %lu\r\n".
If :bytes is 1,234,567, the overview contains 123,456.
Should we allow more? Is buff[18] enough? (up to about 100MB for an article!)
--
Julien ÉLIE
« J'attends vos idées... Parlez. Et toi aussi mon fils. » (César)
More information about the inn-workers
mailing list