aboutsummaryrefslogtreecommitdiffstats
path: root/src/libunixonacid/unixmessage_receive.c
Commit message (Collapse)AuthorAgeFilesLines
* Align ancillary buffers on struct cmsghdr and int boundariesLaurent Bercot2017-04-231-2/+8
|
* More types changesLaurent Bercot2017-02-171-16/+11
| | | | | | | | | New disize Add size_t to the autotypes list Delete redundant and replace-libc files dev_t/ino_t pass Big size_t pass More things missing, still not operational yet
* Applied Roman Kimov's fixesv2.3.1.3Laurent Bercot2015-03-131-1/+1
|
* - Bugfixes in unixmessage/skaclient (short writes / fd leakage / DoS)v2.1.0.0Laurent Bercot2015-01-061-17/+39
| | | | | | - 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
* Safe wrappers around sendmsg and recvmsg in unixmessage primitivesLaurent Bercot2014-12-311-3/+6
|
* So MSG_WAITALL can block even with MSG_DONTWAIT... wtfbsdseriously.Laurent Bercot2014-12-211-3/+10
| | | | | 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.
* unixmessage_receive: don't read more than 1 message at a timeLaurent Bercot2014-12-141-2/+6
|
* 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-061-19/+87
|
* initial commit with rc for skalibs-2.0.0.0Laurent Bercot2014-09-181-0/+44