aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* use memchr rather than strchrnul, the payload is not NUL-terminatedMattias Andrée2014-05-181-3/+6
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* fix length of multicast messagesMattias Andrée2014-05-181-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* Fix memory leak on terminationMattias Andrée2014-05-181-5/+15
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* Enable clean terminationMattias Andrée2014-05-182-46/+111
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* ignore Stop-header when adding interceptor because of ID assignmentMattias Andrée2014-05-171-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* fix memory errorsMattias Andrée2014-05-161-110/+109
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-05-162-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m + fix message sendingMattias Andrée2014-05-154-50/+90
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* Do not echo back messages to the senderMattias Andrée2014-05-141-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m docMattias Andrée2014-05-142-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* fix dumb-client and memory errorsMattias Andrée2014-05-143-5/+7
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m fixMattias Andrée2014-05-141-2/+7
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* fix errorsMattias Andrée2014-05-143-6/+6
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* fix bugsMattias Andrée2014-05-142-9/+20
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m + add test clientMattias Andrée2014-05-141-3/+13
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add fix export of variableMattias Andrée2014-05-141-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m fixMattias Andrée2014-05-123-14/+18
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-05-121-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m + fix errors in mds.cMattias Andrée2014-05-122-23/+82
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-05-111-0/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* support reexec when receiving message modificationMattias Andrée2014-05-112-15/+25
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* receive modificationsMattias Andrée2014-05-113-21/+134
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m docMattias Andrée2014-05-111-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* handle errors when sending a multicast messageMattias Andrée2014-05-111-3/+8
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* derpMattias Andrée2014-05-111-2/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* handle interceptions, everything except receiving modificationsMattias Andrée2014-05-113-20/+156
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* derpMattias Andrée2014-05-111-2/+3
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* a much of multicasting stuffMattias Andrée2014-05-119-39/+615
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m + release all resources before re-execingMattias Andrée2014-05-113-36/+66
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* move mutex_created into client_t + error handling for pthread_*_initMattias Andrée2014-05-113-7/+30
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* whitespaceMattias Andrée2014-05-101-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* race conditionMattias Andrée2014-05-101-20/+26
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* fix compare overflowMattias Andrée2014-05-101-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m + add full_write and add full_readMattias Andrée2014-05-083-48/+99
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* use the data structure marshallersMattias Andrée2014-05-085-178/+106
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* split up mds-server structs into their own .h-files and add marshal functionsMattias Andrée2014-05-089-135/+480
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* Move mds-server into its own directoryMattias Andrée2014-05-082-0/+0
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* whitespaceMattias Andrée2014-05-081-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* work on supporting re-exec during message coordinationMattias Andrée2014-05-082-30/+97
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* derpMattias Andrée2014-05-071-2/+3
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-05-071-9/+5
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-05-071-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* use more macros and do not du null-check before free:ing, free does that for usMattias Andrée2014-05-078-292/+241
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-05-071-0/+6
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* send to clients (does not implement modifiers yet)Mattias Andrée2014-05-071-1/+29
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* sort interceptors by priorityMattias Andrée2014-05-071-0/+18
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* get multicast recipientsMattias Andrée2014-05-072-4/+92
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* collect headers in preparation to multicastMattias Andrée2014-05-072-10/+109
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m + ignore EINTR when sending a messageMattias Andrée2014-05-071-5/+28
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* do not destroy the mutex and condition before we have used to to join with all slavesMattias Andrée2014-05-071-4/+4
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>