summaryrefslogtreecommitdiffstats
path: root/src/server/globals.h
Commit message (Collapse)AuthorAgeFilesLines
* [SERVER] Add image ID for easier handling in RPC, export RID via RPC, make ↵Simon Rettberg2015-05-081-0/+1
| | | | names of the byte count fields in RPC consistent
* [SERVER] Added counters for received and sent bytes.Stephan Schwaer2015-04-271-0/+2
|
* Get rid of unneccessary volatileSimon Rettberg2015-02-221-11/+11
| | | | Some minor debugging code, mostly commented out
* [SERVER] Use shared file handle for readingSimon Rettberg2015-01-301-0/+1
|
* [SERVER] Fix automatic proxying to use supplied connection; fix race ↵Simon Rettberg2015-01-271-1/+1
| | | | condition in uplink_init
* [SERVER] Crank up warning levels of gcc and fix them all (mostly sign ↵Simon Rettberg2015-01-141-1/+1
| | | | | | | compare and some unused params) Also allow newline at end of alt-servers file without complaining about it not being a valid alt server definition.
* [SERVER] Get rid of epoll in alservers.c, make valgrind+gdb happy by ↵Simon Rettberg2015-01-061-1/+1
| | | | handling signals even though we block them
* [SERVER] Use a thread pool for client connectionsSimon Rettberg2015-01-051-2/+0Star
|
* [SERVER] Use stdbool.h for booleans; minor refactoring of variable and ↵Simon Rettberg2014-12-311-11/+13
| | | | function names
* [SERVER] Add setting to enable/disable background replication, add comments ↵Simon Rettberg2014-12-291-0/+6
| | | | to config and code
* [SERVER] Improve replication and reconnecting behaviourSimon Rettberg2014-12-221-1/+1
|
* [SERVER] Configurable client timeout, adaptive replication speed (to be ↵Simon Rettberg2014-12-221-2/+8
| | | | tested against varying bw/latency), retry sendfile call if ret <= len
* Improve uplink handling, add code to debug thread creation/destruction, ↵Simon Rettberg2014-06-161-5/+5
| | | | change stupid convention of freeDiskSpace returning 0 on error, which is ambiguous to the disk simply being full...
* [SERVER] Automatic replication of images that are not complete on proxy. ↵Simon Rettberg2013-11-131-0/+2
| | | | Speed probably needs tweaking for different link speeds etc.
* [SERVER] Increase RTT check delay for uplinks that failed too many times to ↵Simon Rettberg2013-11-131-0/+1
| | | | save network bandwidth
* Merge branch 'simon' of dnbd3:dnbd3 into simonSimon Rettberg2013-11-121-0/+5
|\ | | | | | | | | Conflicts: src/server/altservers.c
| * [SERVER] Minor tweaks here and thereSimon Rettberg2013-11-101-0/+5
| |
* | [SERVER] Add "client only" flag for alt serversSimon Rettberg2013-11-121-1/+1
|/
* aesfsrgdsrSimon Rettberg2013-11-071-0/+5
|
* [SERVER] More debugging, more safety checks, disable alt servers that fail ↵Simon Rettberg2013-09-161-1/+2
| | | | too often
* [SERVER] Copy CRC-32 list from uplink server if availableSimon Rettberg2013-08-281-2/+12
| | | | | Split up helper.c, move file/disk related functions to fileutil.c Uplink: Make sure relayed requests are at least 1MiB
* [SERVER] Improve proxy mode, implement integrity check in proxy modeSimon Rettberg2013-08-121-0/+1
|
* I'm stupidSimon Rettberg2013-08-051-1/+1
|
* [SERVER] Fix use-after-free, improve cleanupSimon Rettberg2013-08-021-1/+1
|
* [SERVER] several improvementsSimon Rettberg2013-08-021-0/+11
| | | | | | 1) Close uplink if local copy is complete 2) Fix memleak when closing uplink (recv buffer was not cleared) 3) Add configurable artificial delays for client and server connections
* [SERVER] Fix create_image() by adding fallback solutions for fallocate()Simon Rettberg2013-08-011-0/+1
|
* [SERVER] Add command line options to create empty image of certain size with ↵Simon Rettberg2013-08-011-1/+8
| | | | empty cache map (so it needs an uplink server)
* [SERVER] Uplink handing complete (untested, as alt servers can't be defined ↵Simon Rettberg2013-07-311-1/+2
| | | | yet, so prepare for lots of fixes ;))
* [SERVER] Still working on the uplink... Almost theresr2013-07-261-10/+14
|
* Work in progress: uplinksr2013-07-251-0/+1
|
* ...Working on proxy mode...sr2013-07-251-4/+43
|
* Remove all glib dependencies from serversr2013-07-171-2/+1Star
|
* Add debug-lock functions that will helpt to spot deadlocks etc. while developingsr2013-07-161-0/+2
|
* "It's compiling!"sr2013-07-151-0/+72
|
* Rewrite in progres....sr2013-07-091-0/+14