Commit Graph

10824 Commits

Author SHA1 Message Date
Howard Chu
7c9e4df765 ITS#6412, refix #6304 - only check for writes if sockbuf NEEDS_WRITE 2009-12-04 02:44:00 +00:00
Hallvard Furuseth
300bba05e8 ITS#6414: Do not write outside database directory.
Also rename misnamed dn2path() to ndn2path() with different prototype.
2009-12-03 23:20:39 +00:00
Rein Tollevik
6c406f1737 ITS#6413 Ensure task don't get queued while being freed after config change. 2009-12-03 21:56:48 +00:00
Howard Chu
8373d9f9fc ITS#6408, fix r1.265 (from ITS#4884) - use correct ce_type 2009-12-01 22:21:18 +00:00
Hallvard Furuseth
07e5a4dda5 Silence warning in initializer 2009-11-30 14:07:12 +00:00
Hallvard Furuseth
ca563787ad Silence "maybe uninitialized" warning (eprev after 0 iterations, cannot happen) 2009-11-30 14:00:18 +00:00
Howard Chu
111b27cfd4 ITS#6270, refix patch from ITS#5511 2009-11-30 06:07:22 +00:00
Hallvard Furuseth
492b2cda2b ITS#6403: reset 'entry' output argument to overlay_entry_get_ov() 2009-11-29 19:53:01 +00:00
Howard Chu
3b2380254a ITS#6400 clarify... 2009-11-24 03:41:24 +00:00
Howard Chu
fae4df1ed6 more for #6397 2009-11-23 22:17:25 +00:00
Howard Chu
e72e0507f8 ITS#6397 cleanup psearch if cookie is stale 2009-11-23 22:13:42 +00:00
Hallvard Furuseth
bbd238e38b ITS#6398: plug memory leak of confdir 2009-11-23 21:52:11 +00:00
Hallvard Furuseth
da747ed63a Fix rev 1.200 commit: C90 forbids mixed declarations and code 2009-11-23 16:04:00 +00:00
Howard Chu
e3c01a32f8 Revert pending CSN if the update fails 2009-11-22 19:30:50 +00:00
Pierangelo Masarati
1cf63599fe revert previous commit 2009-11-22 19:09:24 +00:00
Howard Chu
faddd86f54 Revert prev commit, simpler fix... 2009-11-22 17:43:48 +00:00
Pierangelo Masarati
78a6a16615 silence signedness warnings 2009-11-22 14:58:18 +00:00
Pierangelo Masarati
f59337655e use keepalive stuff when connecting as a client via bindconf (second part of ITS#6389) 2009-11-22 13:05:58 +00:00
Pierangelo Masarati
14c3f7de57 allow parsing/unparsing of keepalive stuff in bindconf (first part of ITS#6389) 2009-11-22 12:51:45 +00:00
Pierangelo Masarati
1970251bb7 check result of str2filter; syncrepl: can be broken; retcode: can't; pcache: shouldn't (ITS#6391) 2009-11-22 11:57:17 +00:00
Howard Chu
993fbf4514 Short-circuit backend_operational; sent entry's e_private doesn't belong
to the backend any more
2009-11-22 04:43:34 +00:00
Howard Chu
c365ac359e ITS#6368 use dup'd entries in response queue 2009-11-22 04:42:00 +00:00
Howard Chu
77680f78a8 ITS#6394 partially revert ITS#5108. Use RID_MAX, as originally designed. 2009-11-22 00:08:52 +00:00
Pierangelo Masarati
c315ede9d5 connid is unsigned; offset real conns by maxrid + 1 2009-11-21 21:44:45 +00:00
Howard Chu
2fd6d4749a Cleanup pointless compare in debug msgs 2009-11-21 21:34:33 +00:00
Pierangelo Masarati
39f0d79485 use macros for fake connid 2009-11-21 21:02:49 +00:00
Howard Chu
4105ee462d ITS#6393 syncrepl internal connids are now <= -1000 2009-11-21 20:22:18 +00:00
Howard Chu
650ebba22b Fix prev commit 2009-11-21 11:54:59 +00:00
Howard Chu
4bdc6fcbc9 in op_response, rearrange contextCSN update checks 2009-11-21 11:43:01 +00:00
Howard Chu
75d1e515ee in updateCookie, no-op if nothing changed 2009-11-21 11:38:42 +00:00
Howard Chu
9992d5c43a Ignore attempts to Add cn=schema,cn=config 2009-11-21 07:13:48 +00:00
Howard Chu
f664cbfb4c Use unique IDs for fake syncrepl connections 2009-11-21 06:54:58 +00:00
Howard Chu
c6de7bf853 ITS#6392 fix authid-rewrite parsing 2009-11-21 04:44:51 +00:00
Howard Chu
572e16883c Braindead serialization for #6368/test050 2009-11-21 04:14:40 +00:00
Howard Chu
af0d762c1c Mostly revert prev commit, broke test054 2009-11-21 03:38:13 +00:00
Howard Chu
ae5af832db Always log outgoing cookie, just use op->o_csn instead of commit_csn since
all responses are now serialized.
2009-11-21 02:37:53 +00:00
Howard Chu
3dd04151f5 Always log rid with incoming cookie 2009-11-21 02:34:10 +00:00
Howard Chu
60d83e06b8 Fix typo in 1.487 2009-11-20 23:20:37 +00:00
Howard Chu
d283f02c45 Fix prev commit 2009-11-20 22:52:47 +00:00
Howard Chu
2aadfa5d86 Reject old ops based on pending ops, not just committed ops 2009-11-20 22:47:48 +00:00
Howard Chu
2f351f964d Move connection state enums to slap.h to ease debugging 2009-11-19 11:24:14 +00:00
Howard Chu
198cbd6ea8 ITS#6368 partially revert 1.273, always check for skips, not just on
first matchops call
2009-11-19 11:17:53 +00:00
Howard Chu
ddfe3cde10 ITS#6387 plug leaks 2009-11-18 23:58:39 +00:00
Howard Chu
ffb06848ff ITS#6368 add another call to check_syncprov to make sure cookie is fresh 2009-11-18 22:06:02 +00:00
Howard Chu
42e56b95d5 Don't allow any other jobs if a -q job is active 2009-11-18 21:08:48 +00:00
Pierangelo Masarati
272abc5561 don't test a NULL BackendDB * (ITS#6385) 2009-11-18 09:51:49 +00:00
Pierangelo Masarati
1ec443df53 trim unnecessary test 2009-11-16 10:02:47 +00:00
Pierangelo Masarati
3768fbbd30 warn if retry is not forever 2009-11-16 09:58:12 +00:00
Pierangelo Masarati
70a71edffb trim unwanted commit 2009-11-16 09:55:27 +00:00
Howard Chu
99381a43e1 ITS#6304 retry if tls_accept() returns 1 2009-11-15 22:39:35 +00:00