Huge attachments
Joel Peshkin
bugreport at peshkin.net
Sat Mar 20 01:15:50 UTC 2004
Sean McAfee wrote:
>Has anyone else ever grappled with the issue of adding huge attachments to a
>Bugzilla installation based on a pre-v4 version of the MySQL server, which
>has a packet size limited to 16MB?
>
>The only workaround I've been able to come up with doesn't work, due to an
>apparent server bug:
>
>
>
I found that most such attachments are rather temporary in nature and
added an option for local attachment storage. When storing, the user
chooses local (temporary) storage where the attachments can be deletedin
the future. The thedata field of attachments las length zero. When
fetching an attachment, if thedata is zero length, the big file is read
from disk and sent to the browser.
It seems to be a bit too controversial and approach to actually land.
More information about the developers
mailing list