Allow buffered writes (from Joe Schaefer)
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@770 958fd67b-6ff1-0310-b445-bb7760255be9
This commit is contained in:
parent
b06a395596
commit
3a8889ca27
@ -94,6 +94,8 @@ sub open_cleanup {
|
|||||||
my $self = IO::Socket::UNIX->new(Type => SOCK_STREAM,
|
my $self = IO::Socket::UNIX->new(Type => SOCK_STREAM,
|
||||||
Peer => "/var/spool/postfix/public/cleanup");
|
Peer => "/var/spool/postfix/public/cleanup");
|
||||||
die qq[Couldn't open unix socket "/var/spool/postfix/public/cleanup": $!] unless ref $self;
|
die qq[Couldn't open unix socket "/var/spool/postfix/public/cleanup": $!] unless ref $self;
|
||||||
|
# allow buffered writes
|
||||||
|
$self->autoflush(0);
|
||||||
bless ($self, $class);
|
bless ($self, $class);
|
||||||
$self->init();
|
$self->init();
|
||||||
return $self;
|
return $self;
|
||||||
|
Loading…
Reference in New Issue
Block a user