Commit Graph

456 Commits

Author SHA1 Message Date
Kurt Zeilenga
2bbf9804b9 Happy New Year! 2012-01-01 07:10:53 -08:00
Howard Chu
42a7fcf19a ITS#6548,#7092 don't pass hangup events to reader thread 2011-11-19 13:57:56 -08:00
Pierangelo Masarati
ca95d353a4 silence warning 2011-09-09 01:09:04 +02:00
Pierangelo Masarati
d324ab5c74 import ITS#6925 patch; fix peeraddr variable name clash in LDAP_CONNECTIONLESS code; fix scope of addr[] when inet_ntop(3) is used 2011-09-09 01:09:04 +02:00
Howard Chu
9e00b6cc6c Add strictrefresh syncrepl option
Only affects delta-syncrepl - stop listening to clients while
refresh is running.
2011-04-15 11:13:38 -07:00
Howard Chu
1cfe042f53 ITS#6870 fix winsock wake_sds init 2011-03-24 10:38:09 +00:00
Howard Chu
0ae659ad87 sl_busy is used as a boolean so just set it, don't increment it 2011-03-17 17:19:25 +00:00
Kurt Zeilenga
966cef8c9a Happy New Year 2011-01-05 00:42:37 +00:00
Hallvard Furuseth
5feeec67d7 ITS#6747 Fix LDAP_CONNECTIONLESS Debug(), warnings 2010-12-14 15:06:32 +00:00
Hallvard Furuseth
a5d1029f53 ITS#6736: Delay destruction of slap_listeners[] 2010-12-06 08:17:00 +00:00
Pierangelo Masarati
abc5b002a7 blind fix for ITS#6621 2010-08-13 00:55:57 +00:00
Howard Chu
5cf46a8820 Fix up winsock init 2010-08-06 03:32:42 +00:00
Howard Chu
8cddd34852 Add support for multiple listener threads. Lightly tested on Linux,
Winsock needs a couple more tweaks
2010-08-06 03:24:24 +00:00
Kurt Zeilenga
3dadeb3efe happy belated New Year 2010-04-13 22:17:29 +00:00
Howard Chu
7946c100a4 ITS#6322 cleanup close_listeners() 2009-12-30 20:33:27 +00:00
Howard Chu
d6fbe1c7ca ITS#6361 remove asserts 2009-11-13 23:48:51 +00:00
Howard Chu
2a334baba6 ITS#6372 make wake_sds non-blocking 2009-11-11 00:21:03 +00:00
Pierangelo Masarati
b7a9a4a65f add support for TCP buffer configuration (ITS#6234) 2009-08-17 22:53:15 +00:00
Hallvard Furuseth
461a2135fb Silence warning. Also avoids pointless umask(0) when umask already is 0. 2009-07-06 23:19:52 +00:00
Howard Chu
e6173ac9c2 ITS#5836 more for 1.432, writetimeout wasn't taking effect if
idletimeout wasn't also set. Also, timeout check would keep getting
pushed back if multiple writers were waiting.
2009-07-06 21:02:28 +00:00
Howard Chu
81b4184975 Fix prev commit 2009-06-05 00:01:11 +00:00
Howard Chu
8edeaefe72 ITS#6056 partially revert ITS#5886, close sequencing was broken 2009-05-28 17:46:25 +00:00
Howard Chu
d70afbe6d1 Add global_host_bv, why do we still have bare char *s lying around... 2009-04-19 23:25:41 +00:00
Howard Chu
417b0b7013 ITS#6039 Winsock fixes 2009-04-11 04:03:09 +00:00
Hallvard Furuseth
1e470657b2 ITS#6037: save/restore errno in signal handlers 2009-03-26 22:11:06 +00:00
Howard Chu
f2cc7e8a0a ITS#5836, add writetimeout keyword for timing out hung writers 2009-03-10 00:42:10 +00:00
Howard Chu
2a3076e597 Fix typo in prev commit 2009-02-12 17:07:21 +00:00
Howard Chu
b37c553c71 Ignore hangups on removed sockets 2009-02-12 17:05:00 +00:00
Howard Chu
e80731bc19 revert epoll edge-triggered listening, just use it to silence hangup events 2009-01-29 15:15:16 +00:00
Howard Chu
d3f1921cc9 Mostly revert prev commit 2009-01-27 18:18:39 +00:00
Howard Chu
05ec9552a7 Use epoll in edge-triggered mode 2009-01-27 08:00:50 +00:00
Kurt Zeilenga
4af9eb9715 Update copyright notices 2009-01-22 00:40:04 +00:00
Howard Chu
863754cb82 Fix prev commit, was hanging up on write events 2009-01-16 22:32:21 +00:00
Howard Chu
96192064f3 ITS#5886 fix epoll hangup handling 2009-01-14 04:28:24 +00:00
Howard Chu
c6b18cd7c5 ITS#5855 fix Windows wake_sds close 2009-01-05 22:09:10 +00:00
Hallvard Furuseth
880a2888d8 Message waiting for N threads to terminate -> for N operations/tasks to finish 2008-09-18 19:50:32 +00:00
Quanah Gibson-Mount
5d3e5ecbd9 Fix missing space 2008-07-24 22:41:22 +00:00
Pierangelo Masarati
65cfb058cb don't close invalid sockets (blind fix to ITS#5606) 2008-07-12 16:31:34 +00:00
Howard Chu
9d787d8d42 ITS#5489 move assert 2008-05-23 15:29:12 +00:00
Howard Chu
b6b3461cf9 Do connections_init() sooner 2008-05-18 15:58:10 +00:00
Kurt Zeilenga
c890c96d13 Happy New Year (belated) 2008-01-08 00:19:56 +00:00
Pierangelo Masarati
20f2548c82 fix declarations of buffers for numeric strings; other related cleanup 2007-12-15 15:23:23 +00:00
Howard Chu
eb16972d23 Streamlined Winsock connection management 2007-11-26 17:03:26 +00:00
Howard Chu
233632fa04 Use per-thread slap_counters to eliminate lock contention 2007-10-25 08:45:00 +00:00
Ralf Haferkamp
a57a24dab8 tcpd.h is already include in slap.h 2007-08-24 16:09:50 +00:00
Pierangelo Masarati
9a00bbb35f add support for session tracking (draft-wahl-ldap-sessio) to proxy backends requests 2007-08-22 15:49:35 +00:00
Hallvard Furuseth
6f2d816df4 ITS#5035 - return ber_socket_t instead of ptrdiff_t from SLAP_EPOLL_EV_PTRFD().
Fixes a printf format bug.
2007-07-01 13:43:15 +00:00
Hallvard Furuseth
c60f7c1fd2 For ITS#4943: Axe thread pool semaphore code 2007-06-10 23:37:49 +00:00
Hallvard Furuseth
3750520f6f Fix HP-UX crash: Replace socklen_t with ber_socklen_t from configure. ITS#4629. 2007-06-09 23:35:20 +00:00
Hallvard Furuseth
584ea90db2 Remove unused variables 2007-05-09 19:11:44 +00:00