/[smeserver]/rpms/qpsmtpd/sme8/0037-Revert-Spool-body-when-transaction-body_fh-is-called.patch
ViewVC logotype

Annotation of /rpms/qpsmtpd/sme8/0037-Revert-Spool-body-when-transaction-body_fh-is-called.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Sun Nov 14 20:50:20 2010 UTC (13 years, 11 months ago) by slords
Branch: MAIN
CVS Tags: qpsmtpd-0_84-3_el5_sme, qpsmtpd-0_84-6_el5_sme, qpsmtpd-0_84-2_el5_sme, qpsmtpd-0_84-5_el5_sme, qpsmtpd-0_84-8_el5_sme, qpsmtpd-0_84-9_el5_sme, qpsmtpd-0_84-4_el5_sme, qpsmtpd-0_84-7_el5_sme, HEAD
* Sun Nov 14 2010 <slords@mail.com> 0.84-2.sme
- Sync with upstream git repo.
- Fix require_resolvable_fromhost doesn't work [SME: 6369]
- Fix TLS security defaults [SME: 6366]
- Fix fatal errors when mail has no headers [SME: 6345]

1 slords 1.1 From 461dabc3e1e7ef456358c15219b2b343c02ff43e Mon Sep 17 00:00:00 2001
2     From: Robert <rspier@pobox.com>
3     Date: Fri, 29 Oct 2010 22:19:30 -0700
4     Subject: Revert "Spool body when $transaction->body_fh() is called"
5    
6     This reverts commit a52660a646012691f993cca821c00fe05cff08bb.
7    
8     See http://www.nntp.perl.org/group/perl.qpsmtpd/2010/10/msg9453.html for discussion.
9     ---
10     Changes | 2 ++
11     lib/Qpsmtpd/Transaction.pm | 5 +----
12     2 files changed, 3 insertions(+), 4 deletions(-)
13    
14     diff --git a/Changes b/Changes
15     index a864b4f..a3437ef 100644
16     --- a/Changes
17     +++ b/Changes
18     @@ -16,6 +16,8 @@ Next Version
19    
20     assorted documentation cleanups (Steve Kemp, Robert Spier)
21    
22     + Revert "Spool body when $transaction->body_fh() is called"
23     +
24     0.84 April 7, 2010
25    
26     uribl: fix scan-headers option (Jost Krieger, Robert Spier)
27     diff --git a/lib/Qpsmtpd/Transaction.pm b/lib/Qpsmtpd/Transaction.pm
28     index 1dec547..a828fb6 100644
29     --- a/lib/Qpsmtpd/Transaction.pm
30     +++ b/lib/Qpsmtpd/Transaction.pm
31     @@ -213,10 +213,7 @@ sub body_as_string {
32     }
33    
34     sub body_fh {
35     - my ($self) = @_;
36     - # Spool to disk if we weren't already doing so
37     - $self->body_spool() unless $self->{_filename};
38     - return $self->{_body_file};
39     + return shift->{_body_file};
40     }
41    
42     sub dup_body_fh {
43     --
44     1.7.2.2
45    

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed