changeset | be21c9e930ca |
---|---|
branch | |
bookmark | |
tag | |
user | JanHorak |
description | Bug 1460871 Add request number for each ldap lookup to avoid adding results from older queries; r?jorg The waiting until the query ends and ignoring results could lead to ignoring results from subsequent lookup. I've removed the code which waited for the all results and replaced it by request number. Every LDAP operation now has the request number set during creating and its value is compared to the current request number (static variable). If they don't match the result is ignored in nsAbQueryLDAPMessageListener::OnLDAPMessage. MozReview-Commit-ID: 9ShVyHmCNS7 |
files | ldap/xpcom/public/nsILDAPOperation.idl ldap/xpcom/src/nsLDAPOperation.cpp ldap/xpcom/src/nsLDAPOperation.h mailnews/addrbook/src/nsAbLDAPDirectoryQuery.cpp mailnews/addrbook/src/nsAbLDAPListenerBase.cpp mailnews/addrbook/src/nsAbLDAPListenerBase.h |
↧
Bug 1460871 Add request number for each ldap lookup to avoid adding results from older queries; r?jorg
↧