Con Kolivas
|
24d89a3e72
|
Don't use MSG_WAITALL on unix sockets
|
10 years ago |
ckolivas
|
57e3aa83c6
|
Differentiate pollin from pollhup in wait_read_select
|
10 years ago |
ckolivas
|
8313628629
|
Differentiate ready for writes from hangups in wait_write_select
|
10 years ago |
Con Kolivas
|
431234a3d6
|
Remove option of using precarious intermediate variants of cklocks
|
10 years ago |
Con Kolivas
|
85b17f1b78
|
Check for correct condition in wait_close
|
10 years ago |
Con Kolivas
|
90c682177f
|
Wait for the other end to close a unix socket to ensure the message has gone through
|
10 years ago |
Con Kolivas
|
42f14a9536
|
Add full lock tracking for mutexes and rwlocks
|
10 years ago |
Con Kolivas
|
7b452b361f
|
Remove macro placeholders for locks in preparation for implementing lock tracking
|
10 years ago |
Con Kolivas
|
c572d580eb
|
Add lock contention testing warning at 10 seconds to all lock grabbing and fail if a lock is unable to be grabbed for more than a minute
|
10 years ago |
Con Kolivas
|
0f08e9518f
|
Add helpers for rw timed locks
|
10 years ago |
Con Kolivas
|
b7f7e71f7a
|
Make dealloc entirely a macro allowing the compiler to optimise out the pointer nulling if it's unneeded
|
10 years ago |
Con Kolivas
|
827f42ba73
|
Fix impossible >= UNIX_PATH_MAX warning
|
10 years ago |
Con Kolivas
|
cc0d188573
|
Fix impossible len >= UNIX_PATH_MAX warning
|
10 years ago |
Con Kolivas
|
ff01a1c414
|
Fix impossible sockd < 1 scenario
|
10 years ago |
Con Kolivas
|
09c7086808
|
Fix impossible patch -p1 -i crap.patch warning in bind_socket
|
10 years ago |
Con Kolivas
|
e5b9e84129
|
Add a helper function to check a hex string is valid
|
10 years ago |
Con Kolivas
|
8622718c48
|
Make jansson use ckalloc for its malloc
|
10 years ago |
Con Kolivas
|
11208274b1
|
Keep retrying indefinitely with backoff after a malloc failure instead of quitting, with a message directly to stderr
|
10 years ago |
Con Kolivas
|
098930afd5
|
Add a completion timeout helper function
|
10 years ago |
Con Kolivas
|
3e335c3b38
|
Abort any functions on signal handling, cleaning up cksem functions
|
10 years ago |
Con Kolivas
|
65f52112ba
|
Confirm all handed over sockets match the configured sockets
|
10 years ago |
Con Kolivas
|
be87144fe1
|
Provide a helper function for turning a socket into a url and port
|
10 years ago |
Con Kolivas
|
540db4f5a9
|
Free the addrinfo allocated in bind_socket
|
10 years ago |
Con Kolivas
|
02dfda6814
|
Add a helper function for getting an addinfo from a url and port
|
10 years ago |
Con Kolivas
|
e5f26443af
|
Make url from sockaddr take port as a char
|
10 years ago |
Con Kolivas
|
6d40647334
|
Add a helper function for converting a struct sockaddr into a url and port
|
10 years ago |
Con Kolivas
|
06507de1fc
|
Handle read and write_length functions receiving an invalidated fd
|
10 years ago |
Con Kolivas
|
c9dd84fac2
|
Handle invalidated socket fds with an error in the wait read/write select functions
|
10 years ago |
Con Kolivas
|
615e9e8b22
|
Handle read and write_length functions receiving an invalidated fd
|
10 years ago |
Con Kolivas
|
480c705e96
|
Handle invalidated socket fds with an error in the wait read/write select functions
|
10 years ago |
kanoi
|
063d723a31
|
allow ckpmsg to set the unix recv timeout
|
10 years ago |
Con Kolivas
|
c87ad0b239
|
Do not double close socket sent to get_fd
|
10 years ago |
Con Kolivas
|
d1e08ac9c2
|
Add source debugging to close failure
|
10 years ago |
ckolivas
|
e5805dac30
|
Fix warnings
|
10 years ago |
ckolivas
|
b95ce4070e
|
Replace use of select with poll in *wait_select in libckpool to allow high fds
|
10 years ago |
ckolivas
|
9daa9e62de
|
Add sanity check for invalidated sock in send_unix_msg
|
10 years ago |
ckolivas
|
11c04e483c
|
Add sanity check to read size for unix message in libckpool
|
10 years ago |
kanoi
|
48a693427a
|
libckpool - add errno to some socket write error messages
|
10 years ago |
Con Kolivas
|
8e29c957e0
|
Add helper function to set no linger
|
10 years ago |
Con Kolivas
|
7d878bd223
|
Force close when dropping a client with a reset using SO_LINGER and give a warning on close failure
|
10 years ago |
Con Kolivas
|
bae2493346
|
Add a helper for close which invalidates the file handle as well
|
10 years ago |
Con Kolivas
|
e4f1a87050
|
Add a helper function for pthread_mutex_timedlock
|
10 years ago |
CC Ding
|
d64827bf35
|
Get rid of the square brackets when using numeric ipv6 address.
|
10 years ago |
Con Kolivas
|
767103c36f
|
Zero timeout on second select in recv_unix_msg is too strict
|
10 years ago |
Con Kolivas
|
6aaf6e0668
|
Increase the initial timeout on waiting for a message on a unix socket to 30 seconds but remove the timeout for the remainder of the message
|
10 years ago |
Con Kolivas
|
4b8de19e07
|
Add sanity check to decay time to prevent underflow levels of small numbers
|
10 years ago |
Con Kolivas
|
97b03d016f
|
Make all file opens close on exec to prevent leaving files open on existing and possible future execves
|
10 years ago |
Con Kolivas
|
67f6a0148c
|
Provide a macro helper for json_pack that checks the return value and describes what the error is and where it came from
|
10 years ago |
kanoi
|
7daa709781
|
libckpool - add semaphone function set as cksum_*
|
10 years ago |
Con Kolivas
|
1edcd9ed6c
|
If we're not checking the errno on failed select we should not be looping in wait_read/write select
|
10 years ago |