Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tsocket: reduce size of dummy variable | Stefan Metzmacher | 2009-04-06 | 1 | -1/+1 |
| | | | | metze | ||||
* | tsocket: use the correct 'ret' variable for tdgram_disconnect_send/recv() | Stefan Metzmacher | 2009-04-06 | 1 | -8/+2 |
| | | | | metze | ||||
* | Use recv instead of read in read_packet_handler | Volker Lendecke | 2009-04-05 | 1 | -1/+2 |
| | | | | This way the socket wrapper pcap file also sees the replies :-) | ||||
* | tsocket: remove DGRAM support from tsocket_context | Stefan Metzmacher | 2009-04-02 | 7 | -564/+0 |
| | | | | metze | ||||
* | tsocket: optimize tdgram_bsd a lot | Stefan Metzmacher | 2009-04-02 | 1 | -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 Metzmacher | 2009-04-02 | 2 | -0/+143 |
| | | | | metze | ||||
* | tsocket: split out a smaller tdgram_context abstraction | Stefan Metzmacher | 2009-04-02 | 4 | -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 Metzmacher | 2009-04-01 | 1 | -2/+6 |
| | | | | metze | ||||
* | tdb: Remove unused variable | Tim Prouty | 2009-03-31 | 1 | -1/+0 |
| | |||||
* | tsocket: try to fix the build on solaris FIONREAD was missing | Stefan Metzmacher | 2009-03-31 | 1 | -0/+1 |
| | | | | metze | ||||
* | up the version to 1.1.4 with the addition of | Andrew Tridgell | 2009-03-31 | 1 | -1/+1 |
| | | | | tdb_transaction_prepare_commit() | ||||
* | added basic testing of tdb_transaction_prepare_commit() in tdbtorture | Andrew Tridgell | 2009-03-31 | 1 | -0/+6 |
| | |||||
* | Add tdb_transaction_prepare_commit() | Howard Chu | 2009-03-31 | 3 | -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 happy | Stefan Metzmacher | 2009-03-28 | 1 | -6/+6 |
| | | | | metze | ||||
* | tsocket: try to fix the build on solaris systems | Stefan Metzmacher | 2009-03-27 | 1 | -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/samba | Jelmer Vernooij | 2009-03-26 | 5 | -7/+66 |
|\ | |||||
| * | Add tevent_req_simple_recv_ntstatus() | Volker Lendecke | 2009-03-24 | 2 | -0/+11 |
| | | |||||
| * | libreplace: use libreplace_SAVE_CPPFLAGS instead of SAVE_CPPFLAGS | Michael Adam | 2009-03-23 | 1 | -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 Metzmacher | 2009-03-23 | 1 | -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 NULL | Volker Lendecke | 2009-03-22 | 1 | -1/+1 |
| | | |||||
| * | Revert "socket_wrapper: fix connect() for dgram sockets, if the destination ↵ | Stefan Metzmacher | 2009-03-22 | 1 | -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 Lendecke | 2009-03-22 | 1 | -8/+0 |
| | | | | | | | | This reverts commit f55e84e904173bed8dc9099ad523ca1e7be12355. | ||||
| * | Revert "Convert the contents of talloc_guide.txt to doxygen-style talloc.h ↵ | Volker Lendecke | 2009-03-22 | 1 | -1023/+1 |
| | | | | | | | | | | | | comments" This reverts commit d21212c9192b41a3fdc7e96cb9bf0125a1dc6c2d. | ||||
| * | Revert "Delete talloc_guide.txt" | Volker Lendecke | 2009-03-22 | 1 | -0/+694 |
| | | | | | | | | This reverts commit 3f9c30022a53a37ad829f8882a9a5161fcadda8b. | ||||
| * | Revert "Add a default "undocumented" module" | Volker Lendecke | 2009-03-22 | 1 | -9/+0 |
| | | | | | | | | This reverts commit ba42320c7e9f5ccbd32eccbfb1f2d77e13b3a318. | ||||
| * | Revert "Add some initial hook to the front page" | Volker Lendecke | 2009-03-22 | 1 | -3/+0 |
| | | | | | | | | This reverts commit cfce2d3611f225244fadf3d27d76371827fd6422. | ||||
| * | Revert "Reformatting" | Volker Lendecke | 2009-03-22 | 1 | -10/+5 |
| | | | | | | | | This reverts commit db447d0c476699dbf7fa0567c67f5938674ec811. | ||||
| * | Revert "Document talloc_pool()" | Volker Lendecke | 2009-03-22 | 1 | -35/+0 |
| | | | | | | | | This reverts commit 27944ed7452207ef3c686ff6bcd9c4e1cb7f36d8. | ||||
| * | Revert "Add a talloc_internal "module"" | Volker Lendecke | 2009-03-22 | 1 | -9/+0 |
| | | | | | | | | This reverts commit 02662d56c64f367bffa2febba9a396c15454cfdb. | ||||
| * | Revert "Document _talloc" | Volker Lendecke | 2009-03-22 | 1 | -10/+1 |
| | | | | | | | | This reverts commit 2ce70d4f5a30973b4cc083dbbb38b519007a31bd. | ||||
| * | Revert "Document TALLOC_FREE()" | Volker Lendecke | 2009-03-22 | 1 | -10/+0 |
| | | | | | | | | This reverts commit 3f81649b8dcadb3bd424f41d803dbd59f770b9ba. | ||||
| * | Revert "Document talloc_parent, talloc_parent_name and talloc_is_parent" | Volker Lendecke | 2009-03-22 | 1 | -29/+0 |
| | | | | | | | | This reverts commit 986c2e01cca0be993f1e52d3a27819f4044bfe4b. | ||||
| * | Revert "Document talloc_zero_array()" | Volker Lendecke | 2009-03-22 | 1 | -16/+0 |
| | | | | | | | | This reverts commit 59dff5745528a3efe585cdeb03e2bedd6b2e404a. | ||||
| * | Document talloc_zero_array() | Volker Lendecke | 2009-03-21 | 1 | -0/+16 |
| | | |||||
| * | Document talloc_parent, talloc_parent_name and talloc_is_parent | Volker Lendecke | 2009-03-21 | 1 | -0/+29 |
| | | |||||
| * | Document TALLOC_FREE() | Volker Lendecke | 2009-03-21 | 1 | -0/+10 |
| | | |||||
| * | Document _talloc | Volker Lendecke | 2009-03-21 | 1 | -1/+10 |
| | | |||||
| * | Add a talloc_internal "module" | Volker Lendecke | 2009-03-21 | 1 | -0/+9 |
| | | |||||
| * | Document talloc_pool() | Volker Lendecke | 2009-03-21 | 1 | -0/+35 |
| | | |||||
| * | Reformatting | Volker Lendecke | 2009-03-21 | 1 | -5/+10 |
| | | |||||
| * | Add some initial hook to the front page | Volker Lendecke | 2009-03-21 | 1 | -0/+3 |
| | | |||||
| * | Add a default "undocumented" module | Volker Lendecke | 2009-03-21 | 1 | -0/+9 |
| | | |||||
| * | Delete talloc_guide.txt | Volker Lendecke | 2009-03-21 | 1 | -694/+0 |
| | | |||||
| * | Convert the contents of talloc_guide.txt to doxygen-style talloc.h comments | Volker Lendecke | 2009-03-21 | 1 | -1/+1023 |
| | | | | | | | | | | talloc_guide.txt was partly outdated, and as going through talloc.h now shows it was incomplete. | ||||
| * | Add a basic Doxyfile for talloc | Volker Lendecke | 2009-03-21 | 1 | -0/+8 |
| | | |||||
| * | socket_wrapper: fix connect() for dgram sockets, if the destination isn't ↵ | Stefan Metzmacher | 2009-03-21 | 1 | -3/+7 |
| | | | | | | | | | | | | there yet metze | ||||
* | | Merge branch 'master' of ssh://git.samba.org/data/git/samba into displaysec | Jelmer Vernooij | 2009-03-20 | 30 | -292/+4029 |
|\| | |||||
| * | lib/util: build tevent_unix.o and tevent_ntstatus.o as UTIL_TEVENT subsystem | Stefan Metzmacher | 2009-03-19 | 1 | -1/+8 |
| | | | | | | | | metze | ||||
| * | lib/tsocket: add tsocket_guide.txt section with specific details about bsd ↵ | Stefan Metzmacher | 2009-03-19 | 1 | -0/+79 |
| | | | | | | | | | | | | style sockets metze | ||||
| * | lib/tsocket: add a fast path to tsocket_writev_send/recv() | Stefan Metzmacher | 2009-03-19 | 1 | -0/+10 |
| | | | | | | | | | | | | This is similar to the tsocket_sendto_send/recv() fast path. metze |