Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-08-25 | s3: Fix bug 8385 | Volker Lendecke | 1 | -26/+14 | |
Poll and select behave differently regarding error handling. When doing the connect(2), we can not rely on poll telling us both readability and writability upon error. Just always try a second connect(2). At least on Linux it returns 0 when it succeeded. Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Aug 25 19:39:12 CEST 2011 on sn-devel-104 | |||||
2011-08-08 | build: provide tevent-util as a public library | Andrew Bartlett | 1 | -1/+1 | |
This is needed so that OpenChange can get at _tevent_req_nterr(), which is referenced by generated PIDL output. Andrew Bartlett | |||||
2011-07-28 | Add wait_for_read_send/recv | Volker Lendecke | 2 | -0/+60 | |
Wait for readability of a socket as a tevent_req | |||||
2011-06-06 | Fix bug #8197 - winbind does not properly detect when a DC connection is dead. | Jeremy Allison | 1 | -6/+32 | |
Only waiting for writability doesn't get fd errors back with poll. So always begin by selecting for readability, and if we get it then see if bytes were available to read or it really is an error condition. If bytes were available, remove the select on read as we know we will retrieve the error when we've finished writing and start reading the reply (or the write will timeout or fail). Metze and Volker please check. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Jun 6 21:53:16 CEST 2011 on sn-devel-104 | |||||
2011-03-23 | async_rec/async_sock.c - add an additional "const" | Matthias Dieter Wallnöfer | 1 | -1/+2 | |
In order to suppress a build warning. Acked-by: Volker and Metze Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed Mar 23 10:26:23 CET 2011 on sn-devel-104 | |||||
2011-02-14 | s3-waf: add UTIL_TEVENT subsystem (as in ../lib/util/wscript) | Günther Deschner | 1 | -1/+2 | |
Guenther | |||||
2010-12-29 | Use sockaddr_storage in async sendto/recvfrom | Volker Lendecke | 2 | -11/+28 | |
2010-12-28 | async_send->sendto, async_recv->recvfrom | Volker Lendecke | 2 | -42/+53 | |
2010-10-31 | s4: Remove the old perl/m4/make/mk-based build system. | Jelmer Vernooij | 1 | -4/+0 | |
The new waf-based build system now has all the same functionality, and the old build system has been broken for quite some time. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104 | |||||
2010-04-12 | s4-waf: inline LIBREPLACE_NETWORK into 'replace' | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2010-04-06 | s4-waf: removed the AUTOGENERATED markers | Andrew Tridgell | 1 | -3/+0 | |
we won't be using the mk -> wscript generator again | |||||
2010-04-06 | s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵ | Andrew Tridgell | 1 | -0/+2 | |
them | |||||
2010-04-06 | build: commit all the waf build files in the tree | Andrew Tridgell | 1 | -0/+9 | |
2009-09-21 | async_sock: return -1/EPIPE if we're getting an end of file on read. | Stefan Metzmacher | 1 | -0/+4 | |
This makes the error handling in the callers easier. metze | |||||
2009-06-15 | Fix a = vs == error in writev_handler | Volker Lendecke | 1 | -1/+1 | |
2009-06-08 | async_sock: try fix the source4 build on FreeBSD, Solaris, SLES8 | Stefan Metzmacher | 3 | -6/+11 | |
metze | |||||
2009-06-06 | Fix an uninitialized variable read in async_connect_send | Volker Lendecke | 1 | -5/+5 | |
2009-06-04 | Only err on readability if writev_send was explicitly asked to do so | Volker Lendecke | 1 | -1/+1 | |
A socket might be readable for other reasons | |||||
2009-05-30 | Handle EINTR in async_sock.c | Volker Lendecke | 1 | -0/+16 | |
2009-05-30 | libwbclient: Add async call framework. | Kai Blin | 2 | -2/+3 | |
2009-05-29 | async_sock: Change license to LGPLv3+ | Volker Lendecke | 2 | -16/+24 | |
2009-05-24 | Change async_connect to use connect instead of getsockopt to get the error | Volker Lendecke | 1 | -14/+24 | |
On my Linux box, this is definitely the more reliable strategy with unix domain sockets, and according to my tests it also works correctly with TCP sockets. | |||||
2009-05-24 | Add "err_on_readability" to writev_send | Volker Lendecke | 2 | -2/+14 | |
A socket where the other side has closed only becomes readable. To catch errors early when sitting in a pure writev, we need to also test for readability. | |||||
2009-05-24 | Allow NULL queue to writev_send | Volker Lendecke | 1 | -6/+16 | |
2009-04-08 | Remove async_req | Volker Lendecke | 7 | -614/+1 | |
2009-04-05 | Use recv instead of read in read_packet_handler | Volker Lendecke | 1 | -1/+2 | |
This way the socket wrapper pcap file also sees the replies :-) | |||||
2009-03-17 | Remove some transitional code in writev_send | Volker Lendecke | 1 | -17/+1 | |
2009-03-16 | Remove some unused code from async_req.[ch] | Volker Lendecke | 2 | -51/+0 | |
2009-03-11 | async_sock: fix truncating of the temporary iovec in writev_send/recv() | Stefan Metzmacher | 1 | -1/+1 | |
Volker: please check! metze | |||||
2009-03-08 | Add "queue" to writev_send | Volker Lendecke | 2 | -3/+30 | |
Unless higher levels queue themselves somehow, writev will *always* be queued. So the queueing should be done at the right level. | |||||
2009-03-02 | Make struct tevent_req opaque | Simo Sorce | 1 | -20/+20 | |
Move struct tevent_req in tevent_internal, and ad getters and setters for private data and the callback function. This patch also renames 'private_state' into 'data'. What is held in this pointer is in fact data and not a state like enum tevent_req_state. Calling it 'state' is confusing. The functions addedd are: tevent_req_set_callback() - sets req->async.fn and req->async.private_data tevent_req_set_print_fn() - sets req->private_print tevent_req_callback_data() - gets req->async.private_data tevent_req_data() - gets rea->data This way it is much simpler to keep API/ABI compatibility in the future. | |||||
2009-02-28 | Simplify async_connect_send slightly | Volker Lendecke | 1 | -9/+6 | |
2009-02-25 | Remove async_req based async_send | Volker Lendecke | 2 | -240/+0 | |
2009-02-25 | Remove async_req based async_recv | Volker Lendecke | 2 | -71/+0 | |
2009-02-24 | Add more conventional async_recv | Volker Lendecke | 2 | -0/+72 | |
2009-02-24 | Add more conventional async_send | Volker Lendecke | 2 | -0/+73 | |
2009-02-24 | Remove unused param_connect struct | Volker Lendecke | 1 | -11/+0 | |
2009-02-24 | Remove unused recvall | Volker Lendecke | 2 | -115/+0 | |
2009-02-24 | Add async read_packet | Volker Lendecke | 2 | -0/+128 | |
2009-02-24 | Fix async writev | Volker Lendecke | 1 | -1/+1 | |
2009-02-24 | Remove async sendall | Volker Lendecke | 2 | -116/+0 | |
2009-02-24 | Add async writev | Volker Lendecke | 2 | -0/+109 | |
2009-02-24 | Convert async_connect to tevent_req | Volker Lendecke | 2 | -32/+33 | |
2009-02-17 | async_sock: Use tevent_timeval instead of timeval functions | Kai Blin | 1 | -3/+4 | |
2009-02-09 | s3 async: Fix the build on systems that have ETIMEDOUT but not ETIME | Tim Prouty | 1 | -2/+2 | |
Fallback on EAGAIN | |||||
2009-02-09 | async_sock: Map ASYNC_REQ_TIMEOUT to ETIMEDOUT instead of ETIME | Kai Blin | 1 | -1/+5 | |
Also, fall back to EIO if ETIMEDOUT is not present | |||||
2009-02-09 | async_sock: Use unix errnos instead of NTSTATUS | Kai Blin | 2 | -30/+99 | |
This also switches wb_reqtrans to use wbcErr instead of NTSTATUS as it would be pointless to convert to errno first and to wbcErr later. | |||||
2009-02-02 | Next step disentangling async_req from NTSTATUS | Volker Lendecke | 4 | -62/+86 | |
Now I need to document this :-) | |||||
2009-02-01 | Split up async_req into a generic and a NTSTATUS specific part | Volker Lendecke | 6 | -80/+158 | |
2009-01-28 | async_sock: Move to top level | Kai Blin | 3 | -1/+755 | |