| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | - Bugfixes in unixmessage/skaclient (short writes / fd leakage / DoS)v2.1.0.0 | Laurent Bercot | 2015-01-06 | 12 | -73/+182 |
| | | | | | | | - ABI change: unixmessage protocol header is now 6 bytes (was 8) - API change: skaclient_start(_async) now takes an "options" argument - version increase to 2.1.0.0 | ||||
| * | Add unixmessage_drop and some stuff in skaclient | Laurent Bercot | 2015-01-04 | 3 | -0/+17 |
| | | |||||
| * | More macros for asyncout in skaclient.h | Laurent Bercot | 2015-01-04 | 1 | -0/+6 |
| | | |||||
| * | Remove redundant _XPG4_2 in unixmessage_sender_flush | Laurent Bercot | 2015-01-03 | 1 | -4/+0 |
| | | |||||
| * | ... without breaking everything, if possible | Laurent Bercot | 2015-01-03 | 1 | -1/+1 |
| | | |||||
| * | Easier error reporting in unixmessage_handle | Laurent Bercot | 2015-01-03 | 1 | -1/+2 |
| | | |||||
| * | Add unixmessage_receiver_isfull | Laurent Bercot | 2015-01-03 | 1 | -0/+1 |
| | | |||||
| * | Really add it >.> | Laurent Bercot | 2015-01-02 | 1 | -0/+13 |
| | | |||||
| * | Add skaclient_syncify for easier async/sync handling | Laurent Bercot | 2015-01-02 | 4 | -15/+9 |
| | | |||||
| * | Remove the --enable-right-tz configure option. | Laurent Bercot | 2015-01-02 | 6 | -44/+43 |
| | | | | | | | Make it a run-time autodetection instead. Update doc. Thanks to Paul Jarc for the suggestion. | ||||
| * | Safe wrappers around sendmsg and recvmsg in unixmessage primitives | Laurent Bercot | 2014-12-31 | 2 | -5/+15 |
| | | |||||
| * | Add _GNU_SOURCE to trynbwaitall.c because glibc headers | Laurent Bercot | 2014-12-31 | 1 | -0/+3 |
| | | | | | | don't define kill() with only _BSD_SOURCE. That's very disappointing from GNU. | ||||
| * | Renormalize buffer size, even if we lose 1 charv2.0.0.0 | Laurent Bercot | 2014-12-22 | 4 | -10/+10 |
| | | |||||
| * | child_spawn1_internal fix for noposixspawn | Laurent Bercot | 2014-12-21 | 1 | -1/+1 |
| | | |||||
| * | OK, this one works, and the problem was actually on my side (failure to | Laurent Bercot | 2014-12-21 | 3 | -19/+4 |
| | | | | | | | use CMSG_LEN where required in tryancilautoclose). Also, good news: the sys/param.h inclusion in FreeBSD isn't necessary anymore. | ||||
| * | next generation of the FreeBSD fix... | Laurent Bercot | 2014-12-21 | 3 | -15/+5 |
| | | |||||
| * | So MSG_WAITALL can block even with MSG_DONTWAIT... wtfbsdseriously. | Laurent Bercot | 2014-12-21 | 3 | -16/+19 |
| | | | | | | Only include MSG_WAITALL when it's tested nb, then. Also test yet another fix for the tryancilautoclose FreeBSD problem. | ||||
| * | Stricter trynbwaitall to actually catch the problems | Laurent Bercot | 2014-12-21 | 1 | -3/+8 |
| | | |||||
| * | So the non-portable MSG_DONTWAIT may alleviate the problem... might | Laurent Bercot | 2014-12-21 | 3 | -14/+30 |
| | | | | | as well use it on architectures that support it. | ||||
| * | Something is rotten in the state of FreeBSD... but we all knew it | Laurent Bercot | 2014-12-20 | 1 | -1/+2 |
| | | | | | already. More tentative workarounds. | ||||
| * | FreeBSD now chokes on tryancilautoclose ; tentative fix | Laurent Bercot | 2014-12-20 | 1 | -31/+33 |
| | | |||||
| * | Found the BSD unixmessage bug. recvmsg(..., MSG_WAITALL) blocks | Laurent Bercot | 2014-12-20 | 2 | -6/+132 |
| | | | | | | | until buffer full or socket shutdown on BSD, *even if the socket is nonblocking*. So I added an "okwaitall" sysdeps, and won't set MSG_WAITALL on retarded systems. | ||||
| * | Lots of cosmetic fixes. | Laurent Bercot | 2014-12-20 | 106 | -190/+188 |
| | | | | | sha256 documented. | ||||
| * | Cosmetic fixes in iobuffer (was looking for a bug, but it wasn't there) | Laurent Bercot | 2014-12-20 | 4 | -18/+18 |
| | | |||||
| * | Fix fd management in new child_spawn1, make socket nb for skaclient | Laurent Bercot | 2014-12-18 | 3 | -15/+19 |
| | | |||||
| * | fd leak fix in child_spawn1_internal | Laurent Bercot | 2014-12-18 | 1 | -2/+2 |
| | | |||||
| * | Separate socket from pipe in child_spawn. Less code in skaclient! | Laurent Bercot | 2014-12-18 | 7 | -68/+89 |
| | | |||||
| * | Fix timed_getlnmax: correctly update w | Laurent Bercot | 2014-12-18 | 1 | -2/+4 |
| | | |||||
| * | Remove intentional crash | Laurent Bercot | 2014-12-17 | 1 | -2/+0 |
| | | |||||
| * | Make build crash early on purpose (to test test suite...) | Laurent Bercot | 2014-12-17 | 1 | -0/+2 |
| | | |||||
| * | Fix: timed_buffer_flush -> buffer_timed_flush | Laurent Bercot | 2014-12-15 | 1 | -1/+1 |
| | | |||||
| * | unixmessage_receive: don't read more than 1 message at a time | Laurent Bercot | 2014-12-14 | 1 | -2/+6 |
| | | |||||
| * | Fix test of sendmsg return value (compare against int...) | Laurent Bercot | 2014-12-14 | 1 | -1/+1 |
| | | |||||
| * | Fix initial value for the length of the kolbak_queue. | Laurent Bercot | 2014-12-13 | 2 | -5/+4 |
| | | | | | | This was the reason for the s6-dnsname-filter segfault. It took me 2 days, valgrind and gdb to corner that one. >.> | ||||
| * | Add guards around EOVERFLOW defines. (Thanks, OpenBSD) | Laurent Bercot | 2014-12-10 | 5 | -0/+10 |
| | | |||||
| * | Fix child_spawn fd closing when n=1 | Laurent Bercot | 2014-12-10 | 1 | -1/+1 |
| | | |||||
| * | Remove deprecated sig.c and useless select wrapper | Laurent Bercot | 2014-12-09 | 3 | -47/+0 |
| | | |||||
| * | Correctly (hopefully) update the main cbuffer in unixmessage_receiver_fill | Laurent Bercot | 2014-12-06 | 1 | -0/+1 |
| | | |||||
| * | Ditch diuints in unixmessage_receiver_fill, revert recvmsg() interpretation | Laurent Bercot | 2014-12-06 | 1 | -9/+3 |
| | | |||||
| * | Fix: adjust unixmessage_receiver_fill() math after recvmsg(). </3 | Laurent Bercot | 2014-12-06 | 1 | -1/+1 |
| | | |||||
| * | Rewrite unixmessage_receiver without buffer, only cbuffer | Laurent Bercot | 2014-12-06 | 15 | -126/+129 |
| | | |||||
| * | It's possible to statically initialize unixmessage_receiver_0 | Laurent Bercot | 2014-12-05 | 4 | -30/+12 |
| | | |||||
| * | Bugfix: skaclient_start and skaclient_startf need a flush before a receive! | Laurent Bercot | 2014-12-05 | 2 | -0/+14 |
| | | |||||
| * | Simplify child_spawn: remove syncpipe in the posix_spawn() case | Laurent Bercot | 2014-12-05 | 1 | -14/+9 |
| | | |||||
| * | Add skagetln_nofill | Laurent Bercot | 2014-12-05 | 3 | -10/+22 |
| | | |||||
| * | Add tain_zero | Laurent Bercot | 2014-12-05 | 2 | -0/+6 |
| | | |||||
| * | More adjustments to unixmessage and skaclient | Laurent Bercot | 2014-12-05 | 4 | -12/+17 |
| | | |||||
| * | Better interface for simple skaclient servers | Laurent Bercot | 2014-12-04 | 7 | -8/+74 |
| | | |||||
| * | initial commit with rc for skalibs-2.0.0.0 | Laurent Bercot | 2014-09-18 | 853 | -0/+19363 |
