Commit Graph

15767 Commits

Author SHA1 Message Date
Pierangelo Masarati
3c012a606b fix response code mapping 2007-01-08 00:13:28 +00:00
Pierangelo Masarati
671330a051 better async connection and partial error handling 2007-01-07 22:06:13 +00:00
Pierangelo Masarati
9b5ea6a205 honor network timeout even when doing full async 2007-01-07 22:05:33 +00:00
Pierangelo Masarati
aa3c9bad3e First cut to truly async connect:
- after connect(2), if async the connection is in "connecting" state
	- the first time a request is sent, "connecting" conns are polled
		- in case of success, the request is sent
		- in case still connecting, LDAP_X_CONNECTING is returned;
		  clients are expected to retry later
	- the "async" behavior must be explicitly enabled by setting
	  the LDAP_OPT_CONNECT_ASYNC option

"local" connections need work
2007-01-07 19:20:46 +00:00
Pierangelo Masarati
f38eee8df1 document LDAP Sync API 2007-01-07 19:13:05 +00:00
Pierangelo Masarati
da8dd8066d don't leave attrs with no values 'round; fix description 2007-01-07 18:53:09 +00:00
Pierangelo Masarati
5513ac6335 import of LDAP Sync client API 2007-01-06 18:28:32 +00:00
Pierangelo Masarati
c310cfd837 minor cleanup 2007-01-06 18:27:34 +00:00
Pierangelo Masarati
0e835b0c32 self-document thread monitoring 2007-01-06 16:19:15 +00:00
Pierangelo Masarati
45edf395eb cleanup ITS#4781 enhancement 2007-01-06 00:45:02 +00:00
Pierangelo Masarati
b0f06da400 improve disconnect handling 2007-01-05 16:18:42 +00:00
Pierangelo Masarati
5ce13437de unsolicited responses shouldn't necessarily end the connection 2007-01-05 15:23:39 +00:00
Pierangelo Masarati
d132415e5f cleanup 2007-01-05 10:34:32 +00:00
Howard Chu
2082b1f9f0 Avoid calling purge too often 2007-01-05 06:49:25 +00:00
Pierangelo Masarati
c56564e2b5 disconnect without notice 2007-01-04 20:17:53 +00:00
Pierangelo Masarati
963eaf63b6 return unsolicited responses 2007-01-04 19:58:29 +00:00
Pierangelo Masarati
8cb4f6b348 fix previous commit 2007-01-04 19:26:59 +00:00
Pierangelo Masarati
d4324d5813 fix \& improve previous commit 2007-01-04 18:33:45 +00:00
Pierangelo Masarati
4b75dd6be3 implement client-side handling of RFC 4511 unsolicited responses and "Notice of Disconnect" 2007-01-04 15:01:22 +00:00
Howard Chu
001ce8e493 Partially revert prev commit, fix lru_purge loop 2007-01-04 11:01:59 +00:00
Howard Chu
57fa57b1d1 Fix HDB - don't use IDL cache when it's not configured 2007-01-04 10:56:18 +00:00
Howard Chu
e48f72c1b5 Unify use of BDB lockers 2007-01-04 08:36:59 +00:00
Howard Chu
23a2339090 Fix prev commits... 2007-01-04 03:26:54 +00:00
Howard Chu
f2acc11976 Simpler fix 2007-01-04 03:17:59 +00:00
Howard Chu
831d1cccc7 Fix idl_cache teardown again - skip if cache is empty 2007-01-04 03:14:46 +00:00
Pierangelo Masarati
bce4063a17 shortcut schema mapping if not configured 2007-01-03 21:35:18 +00:00
Pierangelo Masarati
3284f54ec0 silence warnings 2007-01-03 21:34:49 +00:00
Howard Chu
e094bef172 Remember our own success code in case an overlay changes it 2007-01-03 20:28:56 +00:00
Howard Chu
f206f3ddc0 Just return API errors to the frontend, don't attempt to send them. 2007-01-03 20:21:07 +00:00
Howard Chu
5cfd2f6d97 Use Clock algorithm for IDL cache too 2007-01-03 19:00:07 +00:00
Howard Chu
6d1ca0a769 Delete unused idl_cache_entry rwlock field 2007-01-03 05:36:49 +00:00
Howard Chu
d5a7e252b3 #if out unnecessary code in prev commit 2007-01-03 02:10:30 +00:00
Howard Chu
2c1f91dd0f Tweak entry alignment, play with STRIPE/STRIDE definitions to test. 2007-01-03 02:06:06 +00:00
Kurt Zeilenga
5eed4bfd85 happy new year 2007-01-02 22:47:14 +00:00
Kurt Zeilenga
6dcd9a9f77 Use soelim to fix .so problem
(Assumes soelim is generally available)
2007-01-02 20:25:16 +00:00
Kurt Zeilenga
da6d9eb046 happy new year 2007-01-02 20:00:42 +00:00
Howard Chu
1f79382c4f FWIW, SIGBREAK on Windows should only be ignored when running as a Service. 2007-01-02 10:10:16 +00:00
Howard Chu
68a0e0d922 Revert to ordering behavior of original attrs_free() 2007-01-01 13:42:36 +00:00
Howard Chu
822888eafc Bypass a few redundant locks 2007-01-01 11:44:39 +00:00
Howard Chu
6074f48fa7 Tweak cache_lru_print 2007-01-01 11:17:13 +00:00
Howard Chu
a5546a22a8 Fix prev commit, hdb_cache_find_parent 2007-01-01 07:09:22 +00:00
Howard Chu
dcd5c74914 Drop unnecessary memset()s 2007-01-01 06:46:47 +00:00
Howard Chu
cd35516bdc Fix typo in prev commit 2007-01-01 02:16:25 +00:00
Howard Chu
37dfbd3e8b Fix prev commit 2007-01-01 01:07:57 +00:00
Howard Chu
d7fa1e764d partial revert - keep acquiring BDB lock in lru_purge. 2007-01-01 01:00:19 +00:00
Howard Chu
b8309b4cf8 Cleanup db_lock/unlock parameters 2006-12-31 23:37:06 +00:00
Howard Chu
a720011c8a Ditch LRU cache replacement in favor of 2nd-chance/clock.
Much better concurrency.
2006-12-31 16:16:48 +00:00
Howard Chu
ff93c6bef7 Don't log EAGAIN returns from ber_get_next() 2006-12-31 16:15:45 +00:00
Howard Chu
598ef9e685 Fix prev commit 2006-12-30 12:47:17 +00:00
Howard Chu
e844a6956d In bdb_cache_add use a readlock outside the txn to protect the entry
until send_ldap_result completes.
2006-12-30 12:05:55 +00:00