summaryrefslogtreecommitdiffstats
path: root/src/server/helper.c
Commit message (Collapse)AuthorAgeFilesLines
* [*] Introduce constants for IPv4/6 in dnbd3_host_tSimon Rettberg2017-10-281-7/+7
| | | | | | | AF_INET luckily was "2" on all platforms checked, so no problems there with interoperation, but AF_INET6 is different between Linux, BSD, Windows and possibly others, so map back and forth between AF_INET/AF_INET6 and HOST_IP4/HOST_IP6 to fix this.
* [SERVER] Fix types or add explicit casts everywhere we might have type ↵Simon Rettberg2017-10-241-2/+2
| | | | conversion problems
* [SERVER] Move includes from header to source unitSimon Rettberg2017-10-011-0/+2
|
* [SERVER] Refactor: Move client list to net.* and isolateSimon Rettberg2017-09-071-0/+1
|
* [SERVER] Fix formattingSimon Rettberg2016-03-221-6/+7
|
* dnbd3server build success on freebsd :)Sebastian2016-02-111-1/+7
|
* cleanup commitsSebastian2016-02-111-4/+0Star
|
* [SERVER] BREAKING: Get rid of pseudo case-insensitivityv2.1Simon Rettberg2016-02-011-8/+0Star
| | | | | | | | | | This was a wrong decision made long time ago, and it's broken in certain scenarios (eg. two servers serving from same NFS mount). Also it's of limited use anyways since it only supportes ASCII and would ignore umlauts, so blöd and BLÖD would still be considered two different images. So if you relied on this "feature" in any way, be careful when updating.
* [SERVER] Fix a lot of (mostly harmless) data racesSimon Rettberg2016-01-111-2/+7
|
* [SERVER] Use stdbool.h for booleans; minor refactoring of variable and ↵Simon Rettberg2014-12-311-20/+21
| | | | function names
* [SERVER] Block signals on network threadsSimon Rettberg2013-09-171-0/+12
|
* [SERVER] Copy CRC-32 list from uplink server if availableSimon Rettberg2013-08-281-52/+1Star
| | | | | Split up helper.c, move file/disk related functions to fileutil.c Uplink: Make sure relayed requests are at least 1MiB
* [SERVER] Fix race condition in uplink request aggregation, other small ↵Simon Rettberg2013-08-131-0/+7
| | | | improvements and debugging features
* [SERVER] Improve proxy mode, implement integrity check in proxy modeSimon Rettberg2013-08-121-2/+3
|
* [SERVER] Fix create_image() by adding fallback solutions for fallocate()Simon Rettberg2013-08-011-0/+9
|
* [SERVER] Add command line options to create empty image of certain size with ↵Simon Rettberg2013-08-011-110/+79Star
| | | | empty cache map (so it needs an uplink server)
* Remove all glib dependencies from serversr2013-07-171-1/+1
|
* [SERVER] Remove unused default-namespace codesr2012-12-201-1/+1
|
* [SERVER] Fix return code for IPC_IMAGE_ADDsr2012-09-251-0/+26
| | | | [SERVER] Check if image exists on IPC_IMAGE_ADD
* [SERVER] Check trust settings before replicating image or adding alt serversr2012-09-191-0/+7
| | | | [SERVER] Close dnbd3 block deviced of proxy images when shutting down
* [SERVER] Check which dnbd3 devices are idle and ready to use for proxy modesr2012-09-031-0/+162
[SERVER] Skeleton of server-to-server communication [SERVER] Update access-time of images in use by actual clients [*] Add dnbd3_host_t type to handle address+port+addrtype consistently across the project