Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | separation of server state marshaling into a new method | Mattias Andrée | 2014-05-03 | 2 | -98/+117 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | no need to marshal the socket's fd, it is already included in the cmdline | Mattias Andrée | 2014-05-03 | 1 | -3/+2 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | more re-exec stuff | Mattias Andrée | 2014-05-02 | 1 | -4/+79 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | some more work on re-exec | Mattias Andrée | 2014-05-02 | 2 | -17/+141 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | some re-exec stuff | Mattias Andrée | 2014-05-02 | 1 | -7/+54 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | add version when marshaling | Mattias Andrée | 2014-04-28 | 8 | -4/+38 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | use sig_atomic_t for running | Mattias Andrée | 2014-04-28 | 1 | -1/+2 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | add todo | Mattias Andrée | 2014-04-28 | 1 | -1/+1 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | store the socket's state | Mattias Andrée | 2014-04-28 | 2 | -0/+7 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | handle closing of sockets by peer | Mattias Andrée | 2014-04-28 | 1 | -4/+13 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | we should of cause use recv and not read | Mattias Andrée | 2014-04-28 | 1 | -1/+2 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | derp | Mattias Andrée | 2014-04-28 | 1 | -4/+2 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | m | Mattias Andrée | 2014-04-28 | 1 | -1/+1 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | read messages from client | Mattias Andrée | 2014-04-28 | 2 | -2/+45 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | m | Mattias Andrée | 2014-04-27 | 1 | -1/+1 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | doc | Mattias Andrée | 2014-04-27 | 1 | -2/+9 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | m fixes + doc | Mattias Andrée | 2014-04-27 | 1 | -6/+61 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | return -1 not 1 on failure | Mattias Andrée | 2014-04-27 | 1 | -4/+4 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | well, that was unnecessary | Mattias Andrée | 2014-04-27 | 1 | -1/+0 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | finish mds-message | Mattias Andrée | 2014-04-27 | 2 | -13/+199 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | ipc message class, does not do reading yet | Mattias Andrée | 2014-04-27 | 2 | -0/+352 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | typo | Mattias Andrée | 2014-04-26 | 6 | -6/+6 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | m doc | Mattias Andrée | 2014-04-26 | 4 | -4/+4 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | take care of realloc failures | Mattias Andrée | 2014-04-26 | 2 | -10/+34 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | add table optimised for file descriptors | Mattias Andrée | 2014-04-26 | 6 | -44/+564 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | m fixes + store client information in a hash table and in a linked list | Mattias Andrée | 2014-04-23 | 4 | -7/+101 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | add value remapping to hash table unmarshaling | Mattias Andrée | 2014-04-23 | 2 | -10/+22 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | add missed include | Mattias Andrée | 2014-04-23 | 1 | -0/+1 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | m + add string comparator | Mattias Andrée | 2014-04-22 | 1 | -1/+17 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | add string hasher | Mattias Andrée | 2014-04-22 | 1 | -0/+44 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | error support | Mattias Andrée | 2014-04-22 | 2 | -7/+20 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | more restrict | Mattias Andrée | 2014-04-22 | 2 | -17/+17 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | m + implement marshaling for hash table | Mattias Andrée | 2014-04-22 | 2 | -73/+161 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | second draft of hash table implementation | Mattias Andrée | 2014-04-22 | 2 | -49/+52 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | first draft of hash table implementation | Mattias Andrée | 2014-04-22 | 2 | -0/+646 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | m | Mattias Andrée | 2014-04-22 | 2 | -19/+19 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | add marshaling for linked-list | Mattias Andrée | 2014-04-22 | 2 | -2/+112 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | fix error handling | Mattias Andrée | 2014-04-22 | 1 | -1/+13 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | linked list implementation | Mattias Andrée | 2014-04-22 | 2 | -0/+639 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | m + accept incoming connections | Mattias Andrée | 2014-04-22 | 2 | -65/+205 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | run mdsinitrc | Mattias Andrée | 2014-04-21 | 3 | -4/+132 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | add missing include | Mattias Andrée | 2014-04-21 | 1 | -0/+1 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | make it possible to select master server | Mattias Andrée | 2014-04-21 | 1 | -10/+30 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | master server also drops priliveges | Mattias Andrée | 2014-04-21 | 1 | -0/+9 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | m misc + create directory for temporary data | Mattias Andrée | 2014-04-21 | 3 | -46/+185 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | unlink pid file on exit | Mattias Andrée | 2014-04-21 | 1 | -0/+5 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | mds-server: parse command line arguments | Mattias Andrée | 2014-04-21 | 3 | -7/+165 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | m + spawn and respawn master server | Mattias Andrée | 2014-04-21 | 3 | -3/+155 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | m + listen on socket | Mattias Andrée | 2014-04-20 | 1 | -1/+10 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | create and bind socket | Mattias Andrée | 2014-04-20 | 2 | -1/+33 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> |