Pierangelo Masarati
938778ffd9
free controls, if needed (ITS#6629)
2010-08-29 17:23:08 +00:00
Kurt Zeilenga
3dadeb3efe
happy belated New Year
2010-04-13 22:17:29 +00:00
Hallvard Furuseth
1a7b18bcca
ITS#5340: REP_ENTRY_MUSTFLUSH, rs_replace_entry(), rs_ensure_entry_modifiable()
2009-12-10 00:07:34 +00:00
Howard Chu
2fd6d4749a
Cleanup pointless compare in debug msgs
2009-11-21 21:34:33 +00:00
Howard Chu
dc86747a4d
Fix typo in 1.250 fake sorted results control
2009-07-13 02:42:38 +00:00
Hallvard Furuseth
5b98495d5c
ITS#6101, reset rs->sr_rspdata in send_ldap_disconnect()
2009-07-07 22:30:28 +00:00
Howard Chu
1ca5fe851f
ITS#5836, #6089 fix c_writers counting
2009-07-01 03:01:08 +00:00
Hallvard Furuseth
8bdfd2edbb
ITS#6103: rev 1.331 followup for LDAP_CONNECTIONLESS
2009-06-04 22:06:37 +00:00
Howard Chu
aa9e241581
ITS#6111 connection_state_closing() -> connection_valid()
2009-05-14 04:03:23 +00:00
Howard Chu
9767c87531
Partially revert prev commit, leave rs->sr_err == SLAPD_ABANDON
2009-05-11 04:23:51 +00:00
Howard Chu
2889cc9b1d
ITS#6103 send cancelled response back to client
2009-05-11 04:16:57 +00:00
Howard Chu
4908009ed3
Don't write out abandoned results
2009-03-14 06:47:43 +00:00
Howard Chu
f2cc7e8a0a
ITS#5836, add writetimeout keyword for timing out hung writers
2009-03-10 00:42:10 +00:00
Pierangelo Masarati
d36099aa62
cleanup (related to ITS#5760)
2009-02-15 22:16:21 +00:00
Howard Chu
673405bc2e
More for prev commit
2009-01-25 22:06:24 +00:00
Howard Chu
01cf75383e
Fix prev commit
2009-01-25 21:15:45 +00:00
Howard Chu
ef846c9105
More for prev commit
2009-01-25 03:04:43 +00:00
Howard Chu
b69b2d2f69
More for prev commit
2009-01-25 01:53:32 +00:00
Kurt Zeilenga
4af9eb9715
Update copyright notices
2009-01-22 00:40:04 +00:00
Howard Chu
13ddc561d8
Fix prev commit - check for c_state == CLOSING first
2009-01-15 21:31:58 +00:00
Howard Chu
1a171b07d3
ITS#5835 fix connection teradown when there are waiting writers
2009-01-15 20:41:40 +00:00
Hallvard Furuseth
93c75ea669
Cleanup: Move snprintf preformatting into unused Statslog() argument
2008-10-28 22:27:53 +00:00
Pierangelo Masarati
ffb66f41bb
anticipate Statslog to avoid using dangling pointers (ITS#5775) - HEADS-UP: now 'ENTRY dn=' may appear also in case the PDU can't be sent
2008-10-28 22:02:01 +00:00
Pierangelo Masarati
515733a656
make sure sr_entry is not used if unset (ITS#5742)
2008-10-17 00:03:17 +00:00
Hallvard Furuseth
7b3bdf2185
Warning cleanup: signed meets unsigned. ber_flatten2() returns -1 on
...
error, not LBER_ERROR.
2008-10-13 10:18:15 +00:00
Pierangelo Masarati
a0e3e68a02
allow controls deletion to be deferred; pass response controls back to frontend in extops (ITS#5711)
2008-09-27 10:06:43 +00:00
Howard Chu
d14ebfc070
ITS#5461 initialize rs->sr_tag, sr_msgid for Abandons too
2008-05-28 01:48:41 +00:00
Hallvard Furuseth
0669adf635
ITS#5340 fixes:
...
slap_send_ldap_result() when rs->sr_flags & REP_REF_MUSTBEFREED:
- Do not return with rs->sr_ref == <freed data>, set it to NULL instead.
- Plug memory leak when op->o_domain_scope || op->o_protocol<LDAP_VERSION3.
send_ldap_response():
- Paranoia: Reset REP_MATCHED_MUSTBEFREED and REP_REF_MUSTBEFREED,
in case the caller reuses the SlapReply without resetting the flags.
2008-04-10 12:54:11 +00:00
Hallvard Furuseth
84c2a01c3b
ITS#5364, thread pool efficiency:
...
Use ldap_pvt_thread_pool_pausing(): pause check for slapd without locking.
2008-02-10 16:25:05 +00:00
Kurt Zeilenga
c890c96d13
Happy New Year (belated)
2008-01-08 00:19:56 +00:00
Howard Chu
bcc108a7ff
ITS#5268 don't replicate dSAOperation attributes unless specifically
...
requested. (It doesn't actually make sense to request them in that
case, but allow it.)
2007-12-08 17:44:15 +00:00
Pierangelo Masarati
7aeac21440
silence warnings
2007-11-23 12:47:53 +00:00
Howard Chu
233632fa04
Use per-thread slap_counters to eliminate lock contention
2007-10-25 08:45:00 +00:00
Howard Chu
68ebee4726
Concurrency tweaks:
...
store conn->c_sd, don't use ber_sockbuf_ctrl to retrieve it.
use per-thread free lists for operations, no mutexes needed.
2007-10-25 02:22:40 +00:00
Howard Chu
b9f012377a
ITS#5197 fully revert prev commit, use thr_stub
2007-10-23 21:14:39 +00:00
Howard Chu
faa76b761d
Forced commit, partially revert prev commit
2007-10-23 20:57:13 +00:00
Howard Chu
3877fc9359
ITS#5197 don't check thread pool if NO_THREADS
2007-10-23 20:55:28 +00:00
Howard Chu
a1a63bead0
ITS#4188 check for pool pause every 64 entries. (probably should make
...
this number tunable.)
2007-10-08 01:15:49 +00:00
Howard Chu
f9bc1426ad
Fix SORTED_RESULTS check
2007-08-29 23:57:55 +00:00
Pierangelo Masarati
af9233b9df
use LDAP_RES_UNSOLICITED for the response message id
2007-08-26 15:06:52 +00:00
Howard Chu
a2405e0a7e
Axe slurpd / replog support
2007-04-06 00:21:02 +00:00
Kurt Zeilenga
da6d9eb046
happy new year
2007-01-02 20:00:42 +00:00
Pierangelo Masarati
07f61475c7
read entry needs o_bd for ACLs
2006-10-14 00:59:22 +00:00
Howard Chu
d6d31af4f0
send_search_reference should propagate errors
2006-09-21 09:28:49 +00:00
Howard Chu
57c329a3af
ITS#4606 errno is not per-thread on WIN32, always use WSAGet/SetLastError
...
(with notable exceptions: ignore tests for EINTR which winsock never sets)
2006-09-14 06:35:34 +00:00
Kurt Zeilenga
97fa3f1efd
More LDAP_DEVEL cleanup
...
Rename ManageDIT to Relax
2006-08-22 00:45:16 +00:00
Hallvard Furuseth
61d71d95b9
Cast isspace() arg to unsigned char. (Update to previous change.)
2006-04-24 20:32:23 +00:00
Pierangelo Masarati
19c5f261e5
re-fix ITS#4495 working around atoi() limitations
2006-04-19 23:57:02 +00:00
Hallvard Furuseth
5181a522c1
Revert rev 1.276, which broke back-shell "RESULT\ncode: <value>\n" (ITS#4495)
2006-04-19 22:03:13 +00:00
Pierangelo Masarati
dfc8e7f6b8
better fix for ITS#4483
2006-04-09 22:29:42 +00:00