Hi all,
Message::decode calls LDAP::_forgetmesg
as far as I understand the architecture of Net::LDAP this should not be
done for IntermediateResponse messages. Is that correct?
Thank you.
Kind regards,
Daniel
--- Message.pm.orig 2008-07-16 10:01:18.000000000 +0200
+++ Message.pm 2008-07-16 10:02:01.000000000 +0200
@@ -143,7 +143,9 @@
# tell our LDAP client to forget us as this message has now completed
# all communications with the server
- $self->parent->_forgetmesg($self);
+ unless( $result->{protocolOp}{intermediateResponse} ){
+ $self->parent->_forgetmesg($self);
+ }
$self->{callback}->($self)
if (defined $self->{callback});