New submission from HiroakiKawai <[EMAIL PROTECTED]>:

I had some problems when I wanted to do attach a huge data file (such 
as mp3, avi, or etc.) to an email. Current smtpd.py in Python2.5 calls 
process_message that takes a string for its argument. This cause python 
running process to consume too much memory.

I'd like to suggest an alternative method for this purpose 
process_message_huge that takes a file-descriptor for its argument. The 
patch will use process_message_huge if the method exists, otherwise, it 
will call process_message with a string that will consume a huge memory 
for backward compatibility.

----------
components: Library (Lib)
files: smtpd.patch
keywords: patch
messages: 64776
nosy: kawai
severity: normal
status: open
title: smtpd.py to handle huge email
type: security
versions: Python 2.5
Added file: http://bugs.python.org/file9909/smtpd.patch

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2518>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to