summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* tsocket: reduce size of dummy variableStefan Metzmacher2009-04-061-1/+1
| | | | metze
* tsocket: use the correct 'ret' variable for tdgram_disconnect_send/recv()Stefan Metzmacher2009-04-061-8/+2
| | | | metze
* Use recv instead of read in read_packet_handlerVolker Lendecke2009-04-051-1/+2
| | | | This way the socket wrapper pcap file also sees the replies :-)
* tsocket: remove DGRAM support from tsocket_contextStefan Metzmacher2009-04-027-564/+0
| | | | metze
* tsocket: optimize tdgram_bsd a lotStefan Metzmacher2009-04-021-27/+54
| | | | | | | | | | | | | | | | | | | | | The desire is to do as less syscalls during the tdgram_sendto_send/recv() and tdgram_recvfrom_send/recv() operations. 1. we first try the sendto()/recvfrom() syscall and only use a fd event if we got EAGAIN. 2. we cache the fd event and only change it's flags if really needed. For the highload case we do almost no epoll_ctl() and epoll_wait()/select() syscalls anymore. This speeds up the LDAP-BENCH-CLDAP test by more than 20%. (With a modified version of this test which let the server skip any ldb calls and just return success I'm getting about 8000 requests per second, while I'm getting just about 6000 requests per second without optimization) metze
* tsocket: add tdgram_sendto_queue_send/recv()Stefan Metzmacher2009-04-022-0/+143
| | | | metze
* tsocket: split out a smaller tdgram_context abstractionStefan Metzmacher2009-04-024-0/+1192
| | | | | | | The idea is to have a tdgram and a tstream abstraction which only provide tevent_req based io functions. metze
* lib/util: fallback to any id in idr_get_new_random()Stefan Metzmacher2009-04-011-2/+6
| | | | metze
* tdb: Remove unused variableTim Prouty2009-03-311-1/+0
|
* tsocket: try to fix the build on solaris FIONREAD was missingStefan Metzmacher2009-03-311-0/+1
| | | | metze
* up the version to 1.1.4 with the addition ofAndrew Tridgell2009-03-311-1/+1
| | | | tdb_transaction_prepare_commit()
* added basic testing of tdb_transaction_prepare_commit() in tdbtortureAndrew Tridgell2009-03-311-0/+6
|
* Add tdb_transaction_prepare_commit()Howard Chu2009-03-313-52/+133
| | | | | | | | Using tdb_transaction_prepare_commit() gives us 2-phase commits. This allows us to safely commit across multiple tdb databases at once, with reasonable transaction semantics Signed-off-by: tridge@samba.org
* tsocket: more s/sun/un to make the build on solaris happyStefan Metzmacher2009-03-281-6/+6
| | | | metze
* tsocket: try to fix the build on solaris systemsStefan Metzmacher2009-03-271-18/+18
| | | | | | | It seems that 'sun' is somewhere defined and we can use it as name for variables or struct/union members. metze
* Merge branch 'master' of git://git.samba.org/sambaJelmer Vernooij2009-03-265-7/+66
|\
| * Add tevent_req_simple_recv_ntstatus()Volker Lendecke2009-03-242-0/+11
| |
| * libreplace: use libreplace_SAVE_CPPFLAGS instead of SAVE_CPPFLAGSMichael Adam2009-03-231-2/+2
| | | | | | | | | | | | | | | | | | This fixes Samba3's double listing of -I options in CFLAGS, since samba3's configure wraps the call to AC_LIBREPLACE_NETWORK_CHECKS into a SAVE_CPPFLAGS="${CPPFLAGS}" .. CPPFLAGS="${SAVE_CPPFLAGS}" sequence... :-) Michael
| * socket_wrapper: fix connect() for dgram sockets, if the destination isn't ↵Stefan Metzmacher2009-03-231-4/+52
| | | | | | | | | | | | | | | | | | | | | | | | there yet Now we defer the real_connect() for dgram sockets to the first send()/sendto() call, as the destination might not be there at connect time. Commit 66dc53ee017d74a6f610bbe04337f064901fe2a1 was an incomplete fix for this problem. metze
| * talloc_array_length: talloc_get_size deals fine with NULLVolker Lendecke2009-03-221-1/+1
| |
| * Revert "socket_wrapper: fix connect() for dgram sockets, if the destination ↵Stefan Metzmacher2009-03-221-7/+3
| | | | | | | | | | | | | | | | | | | | | | isn't there yet" This reverts commit 66dc53ee017d74a6f610bbe04337f064901fe2a1. Somehow this leads to timeouts in some tests, samba4.ldb.ldapi and samba4.rpc.schannel. I need to look at it more closely later... metze
| * Revert "Add a basic Doxyfile for talloc"Volker Lendecke2009-03-221-8/+0
| | | | | | | | This reverts commit f55e84e904173bed8dc9099ad523ca1e7be12355.
| * Revert "Convert the contents of talloc_guide.txt to doxygen-style talloc.h ↵Volker Lendecke2009-03-221-1023/+1
| | | | | | | | | | | | comments" This reverts commit d21212c9192b41a3fdc7e96cb9bf0125a1dc6c2d.
| * Revert "Delete talloc_guide.txt"Volker Lendecke2009-03-221-0/+694
| | | | | | | | This reverts commit 3f9c30022a53a37ad829f8882a9a5161fcadda8b.
| * Revert "Add a default "undocumented" module"Volker Lendecke2009-03-221-9/+0
| | | | | | | | This reverts commit ba42320c7e9f5ccbd32eccbfb1f2d77e13b3a318.
| * Revert "Add some initial hook to the front page"Volker Lendecke2009-03-221-3/+0
| | | | | | | | This reverts commit cfce2d3611f225244fadf3d27d76371827fd6422.
| * Revert "Reformatting"Volker Lendecke2009-03-221-10/+5
| | | | | | | | This reverts commit db447d0c476699dbf7fa0567c67f5938674ec811.
| * Revert "Document talloc_pool()"Volker Lendecke2009-03-221-35/+0
| | | | | | | | This reverts commit 27944ed7452207ef3c686ff6bcd9c4e1cb7f36d8.
| * Revert "Add a talloc_internal "module""Volker Lendecke2009-03-221-9/+0
| | | | | | | | This reverts commit 02662d56c64f367bffa2febba9a396c15454cfdb.
| * Revert "Document _talloc"Volker Lendecke2009-03-221-10/+1
| | | | | | | | This reverts commit 2ce70d4f5a30973b4cc083dbbb38b519007a31bd.
| * Revert "Document TALLOC_FREE()"Volker Lendecke2009-03-221-10/+0
| | | | | | | | This reverts commit 3f81649b8dcadb3bd424f41d803dbd59f770b9ba.
| * Revert "Document talloc_parent, talloc_parent_name and talloc_is_parent"Volker Lendecke2009-03-221-29/+0
| | | | | | | | This reverts commit 986c2e01cca0be993f1e52d3a27819f4044bfe4b.
| * Revert "Document talloc_zero_array()"Volker Lendecke2009-03-221-16/+0
| | | | | | | | This reverts commit 59dff5745528a3efe585cdeb03e2bedd6b2e404a.
| * Document talloc_zero_array()Volker Lendecke2009-03-211-0/+16
| |
| * Document talloc_parent, talloc_parent_name and talloc_is_parentVolker Lendecke2009-03-211-0/+29
| |
| * Document TALLOC_FREE()Volker Lendecke2009-03-211-0/+10
| |
| * Document _tallocVolker Lendecke2009-03-211-1/+10
| |
| * Add a talloc_internal "module"Volker Lendecke2009-03-211-0/+9
| |
| * Document talloc_pool()Volker Lendecke2009-03-211-0/+35
| |
| * ReformattingVolker Lendecke2009-03-211-5/+10
| |
| * Add some initial hook to the front pageVolker Lendecke2009-03-211-0/+3
| |
| * Add a default "undocumented" moduleVolker Lendecke2009-03-211-0/+9
| |
| * Delete talloc_guide.txtVolker Lendecke2009-03-211-694/+0
| |
| * Convert the contents of talloc_guide.txt to doxygen-style talloc.h commentsVolker Lendecke2009-03-211-1/+1023
| | | | | | | | | | talloc_guide.txt was partly outdated, and as going through talloc.h now shows it was incomplete.
| * Add a basic Doxyfile for tallocVolker Lendecke2009-03-211-0/+8
| |
| * socket_wrapper: fix connect() for dgram sockets, if the destination isn't ↵Stefan Metzmacher2009-03-211-3/+7
| | | | | | | | | | | | there yet metze
* | Merge branch 'master' of ssh://git.samba.org/data/git/samba into displaysecJelmer Vernooij2009-03-2030-292/+4029
|\|
| * lib/util: build tevent_unix.o and tevent_ntstatus.o as UTIL_TEVENT subsystemStefan Metzmacher2009-03-191-1/+8
| | | | | | | | metze
| * lib/tsocket: add tsocket_guide.txt section with specific details about bsd ↵Stefan Metzmacher2009-03-191-0/+79
| | | | | | | | | | | | style sockets metze
| * lib/tsocket: add a fast path to tsocket_writev_send/recv()Stefan Metzmacher2009-03-191-0/+10
| | | | | | | | | | | | This is similar to the tsocket_sendto_send/recv() fast path. metze