12 Commits

Author SHA1 Message Date
dmose%netscape.com
c385b78720 Fix LDAP XPCOM SDK race condition which could cause LDAP entries to get dropped, or binds to fail entirely (bug 131447). The old code asked ldap_result() for all new messages received, including ones for operations that it did not yet know how to handle. That code has been changed to enumerate the pending operations, and ask for results of each of the pending operations that it knows about, and no others. r=sspitzer@netscape.com, dmose@netscape.com; sr=bienvenu@netscape.com; a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@117457 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 02:51:27 +00:00
leif%netscape.com
1de851a323 Bug 77672, fix nsLDAPConnection leaking objects and threads. Patch=leif,
r=dmose, sr=darin, a=chofmann.


git-svn-id: svn://10.0.0.236/trunk@97711 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-22 01:09:20 +00:00
leif%netscape.com
d5440c239f Backed out my checkin, sorry for that.
git-svn-id: svn://10.0.0.236/trunk@97695 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-21 21:56:57 +00:00
leif%netscape.com
5b35bccf7a Bug 77672, fix nsLDAPConnection leaking objects and threads. Patch=leif,
r=dmose, sr=darin, a=chofmann.


git-svn-id: svn://10.0.0.236/trunk@97691 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-21 21:44:18 +00:00
dmose%netscape.com
af8a05701f Fixes various sr= issues turned up in preparation for turning on LDAP in the default builds (bug 70658). Removes obsolete and private interface methods; fixes spacing, and lots of misc cleanups. moa=me, sr=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@89068 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 03:25:47 +00:00
dmose%mozilla.org
ae17ba5bfc LDAP error-handling cleanup, part 1. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@81316 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 23:07:38 +00:00
dmose%mozilla.org
daee20badf * removed mPosition variable, since getAttributes() is now a single function
* prototypes for Iterate{Attributes,AttrErrHandler} added

* emacs mode line added

a=r=(not built)


git-svn-id: svn://10.0.0.236/trunk@80119 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 01:01:10 +00:00
dmose%mozilla.org
6cb3b03749 Removed trailing semicolons after NS_DECL stuff to keep ChoadWarrior from whining. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@75565 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 23:55:12 +00:00
dmose%mozilla.org
429ae87836 Revamped callback code so that nsILDAPMessageListener is a per operation attribute rather than a per connection attribute. This allows for much more flexibility in handling LDAP messages received, as well as sharing of LDAP connections (a performance win). Also modified nsISupports proxy usage so that I can callback to nsILDAPMessageListeners implemented in JS (thanks dougt). a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@74121 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 23:05:27 +00:00
dmose%mozilla.org
e5d0a5cef4 cache the nsILDAPConnection for when we need to call methods (eg GetLdErrno) on it. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@72011 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 23:56:39 +00:00
dmose%mozilla.org
03dd654c88 initial work to convert nsLDAPOperation, Message, and Connection to implement and use XPCOM interfaces
git-svn-id: svn://10.0.0.236/trunk@70409 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 22:48:50 +00:00
dmose%mozilla.org
e592592b5d LDAP XPCOM components + infrastructure
git-svn-id: svn://10.0.0.236/trunk@68771 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 01:09:11 +00:00