aboutsummaryrefslogtreecommitdiffstats
path: root/src/libunixonacid
Commit message (Collapse)AuthorAgeFilesLines
* Applied Roman Kimov's fixesv2.3.1.3Laurent Bercot2015-03-131-1/+1
|
* - Bugfix: unixmessage_sender_init didn't initialize b->shortyLaurent Bercot2015-02-192-0/+3
| | | | - byte_zero the ancilbuf's padding to appease valgrind
* - Add siovec_truncLaurent Bercot2015-02-052-2/+4
| | | | | | | | - Add openwritevnclose - replace buffer_read/write with fd_readsv/writesv - add localtmn_from_tain_g - refactor cdb_make - rewrite buffer_getvall and buffer_putvall, with a bugfix
* Bugfixes:v2.2.1.0Laurent Bercot2015-01-231-1/+2
| | | | | | | - seek_set now uses SEEK_SET (those functions are useless now, they will go at the next major version update) - skaclient_server_init now correctly sanitizes unixmessage_timed_receive
* - Added unixconnectionLaurent Bercot2015-01-193-0/+26
| | | | | - Added sig_name & sig_number (suggestion from Olivier Brunel) - version bumped to 2.2.1.0, rc
* Without a segfault in unixmessage_sender_free, please.v2.2.0.0Laurent Bercot2015-01-101-5/+8
|
* Bugfix: unixmessage_sender_free didn't close all the pending fdsLaurent Bercot2015-01-103-12/+11
|
* Add unixmessage_unput, for transaction cancellationLaurent Bercot2015-01-091-0/+23
|
* Bugfix: unixmessage_put was recording the wrong number of fdsLaurent Bercot2015-01-092-3/+3
|
* - Bugfixes in unixmessage/skaclient (short writes / fd leakage / DoS)v2.1.0.0Laurent Bercot2015-01-0610-48/+130
| | | | | | - 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 skaclientLaurent Bercot2015-01-041-0/+13
|
* Remove redundant _XPG4_2 in unixmessage_sender_flushLaurent Bercot2015-01-031-4/+0
|
* ... without breaking everything, if possibleLaurent Bercot2015-01-031-1/+1
|
* Easier error reporting in unixmessage_handleLaurent Bercot2015-01-031-1/+2
|
* Really add it >.>Laurent Bercot2015-01-021-0/+13
|
* Add skaclient_syncify for easier async/sync handlingLaurent Bercot2015-01-023-15/+7
|
* Safe wrappers around sendmsg and recvmsg in unixmessage primitivesLaurent Bercot2014-12-312-5/+15
|
* So MSG_WAITALL can block even with MSG_DONTWAIT... wtfbsdseriously.Laurent Bercot2014-12-212-3/+13
| | | | | Only include MSG_WAITALL when it's tested nb, then. Also test yet another fix for the tryancilautoclose FreeBSD problem.
* So the non-portable MSG_DONTWAIT may alleviate the problem... mightLaurent Bercot2014-12-211-12/+11
| | | | as well use it on architectures that support it.
* Found the BSD unixmessage bug. recvmsg(..., MSG_WAITALL) blocksLaurent Bercot2014-12-201-6/+15
| | | | | | 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 Bercot2014-12-206-6/+6
| | | | sha256 documented.
* Fix fd management in new child_spawn1, make socket nb for skaclientLaurent Bercot2014-12-181-1/+1
|
* Separate socket from pipe in child_spawn. Less code in skaclient!Laurent Bercot2014-12-181-1/+1
|
* Fix timed_getlnmax: correctly update wLaurent Bercot2014-12-181-2/+4
|
* Fix: timed_buffer_flush -> buffer_timed_flushLaurent Bercot2014-12-151-1/+1
|
* unixmessage_receive: don't read more than 1 message at a timeLaurent Bercot2014-12-141-2/+6
|
* Fix test of sendmsg return value (compare against int...)Laurent Bercot2014-12-141-1/+1
|
* Fix initial value for the length of the kolbak_queue.Laurent Bercot2014-12-131-2/+1
| | | | | This was the reason for the s6-dnsname-filter segfault. It took me 2 days, valgrind and gdb to corner that one. >.>
* Correctly (hopefully) update the main cbuffer in unixmessage_receiver_fillLaurent Bercot2014-12-061-0/+1
|
* Ditch diuints in unixmessage_receiver_fill, revert recvmsg() interpretationLaurent Bercot2014-12-061-9/+3
|
* Fix: adjust unixmessage_receiver_fill() math after recvmsg(). </3Laurent Bercot2014-12-061-1/+1
|
* Rewrite unixmessage_receiver without buffer, only cbufferLaurent Bercot2014-12-067-91/+100
|
* It's possible to statically initialize unixmessage_receiver_0Laurent Bercot2014-12-052-27/+1
|
* Bugfix: skaclient_start and skaclient_startf need a flush before a receive!Laurent Bercot2014-12-052-0/+14
|
* More adjustments to unixmessage and skaclientLaurent Bercot2014-12-052-5/+4
|
* Better interface for simple skaclient serversLaurent Bercot2014-12-045-6/+54
|
* initial commit with rc for skalibs-2.0.0.0Laurent Bercot2014-09-1878-0/+1783