Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-05-01 | tsocket: rename tdgram_unix_dgram_socket() => tdgram_unix_socket() | Stefan Metzmacher | 1 | -5/+5 | |
metze | |||||
2009-05-01 | tsocket: tdgram move input checks to the common code as there're needed for ↵ | Stefan Metzmacher | 1 | -22/+1 | |
all backends We need to make sure that we free the sendto and recvfrom requests before the tdgram_context metze | |||||
2009-05-01 | tsocket: for unix domain sockets we need to use sizeof(struct sockaddr_un) | Stefan Metzmacher | 1 | -2/+22 | |
sizeof(struct sockaddr_storage) generates EINVAL. metze | |||||
2009-05-01 | tsocket: remove tsocket_context related stuff | Stefan Metzmacher | 1 | -674/+13 | |
It will be replaced by tdgram_context and tstream_context. metze | |||||
2009-04-16 | tsocket: fix the build without ipv6 support | Stefan Metzmacher | 1 | -0/+2 | |
metze | |||||
2009-04-06 | tsocket: reduce size of dummy variable | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-04-06 | tsocket: use the correct 'ret' variable for tdgram_disconnect_send/recv() | Stefan Metzmacher | 1 | -8/+2 | |
metze | |||||
2009-04-02 | tsocket: remove DGRAM support from tsocket_context | Stefan Metzmacher | 1 | -72/+0 | |
metze | |||||
2009-04-02 | tsocket: optimize tdgram_bsd a lot | Stefan Metzmacher | 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 | |||||
2009-04-02 | tsocket: split out a smaller tdgram_context abstraction | Stefan Metzmacher | 1 | -0/+844 | |
The idea is to have a tdgram and a tstream abstraction which only provide tevent_req based io functions. metze | |||||
2009-03-31 | tsocket: try to fix the build on solaris FIONREAD was missing | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2009-03-28 | tsocket: more s/sun/un to make the build on solaris happy | Stefan Metzmacher | 1 | -6/+6 | |
metze | |||||
2009-03-27 | tsocket: try to fix the build on solaris systems | Stefan Metzmacher | 1 | -18/+18 | |
It seems that 'sun' is somewhere defined and we can use it as name for variables or struct/union members. metze | |||||
2009-03-19 | lib/tsocket: add an implementation for bsd style sockets. | Stefan Metzmacher | 1 | -0/+1126 | |
metze |