[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#5854) Double send response in meta backend



jorge.perez@adaptia.net wrote:
> Full_Name: Jorge Perez Burgos
> Version: 2.4.11
> OS: SLES 10
> URL: ftp://ftp.openldap.org/incoming/back-meta_changes.diff.gz
> Submission from: (NULL) (194.237.142.20)
> 
> 
> Meta backend send two response codes when trying to reconnect to other slapd.
> 
> Steps to reproduce:
> Configure two slapds, slapd_A and slapd_B. slapd_A connects to slapd_B trough
> meta backend. Do some traffic operations. Restart slapd_B and do some modify,
> delete or add operation, response code 52 is received although the operation is
> sucessful. Using a tcpdump you can see two response codes for the request.
> 
> I attach a possible patch for this issue.

Thanks.  I've committed an alternative fix to this issue, in line with 
the analogous code in back-ldap.  It makes use of the specific bit of 
the ldap_back_send_t mask instead of an additional argument.

Please test.  p.


Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
-----------------------------------
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Fax:     +39 0382 476497
Email:   ando@sys-net.it
-----------------------------------