[exim-dev] [Bug 401] DomainKeys dk_transport_write_message d…

Góra strony
Delete this message
Reply to this message
Autor: World Wide Web Owner
Data:  
Dla: exim-dev
Temat: [exim-dev] [Bug 401] DomainKeys dk_transport_write_message doesn't unlink an existing -K spool file
http://www.exim.org/bugzilla/show_bug.cgi?id=401


tom@??? changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED





------- Additional Comments From tom@??? 2006-10-30 22:04 -------
Did it in another way:

1) Create the -K file with an additional pid prefix to completely
rule out concurrency problems.
2) Change O_EXCL to O_TRUNC on file open to enable silent overwrite
of eventually existing file.
3) Use linux-style sendfile() call to send the -K file (when availablen,
and when TLS is not used). This should give a slight I/O performance
improvement.




------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.