summaryrefslogtreecommitdiffstats
path: root/src/server/server.c
Commit message (Collapse)AuthorAgeFilesLines
* [Server] Added statistics of images and uptime to json.Stephan Schwaer2015-05-051-1/+0Star
|
* Removed dnbd3_printClients, added clients to statistics json in rpc.Stephan Schwaer2015-05-041-15/+0Star
|
* [SERVER] Added counters for received and sent bytes.Stephan Schwaer2015-04-271-1/+3
|
* [SERVER] printf -> logadd, make USR2 trigger a log cycle, remove old fake ↵Simon Rettberg2015-02-231-34/+20Star
| | | | delay feature
* [SERVER] Overhauled loggingSimon Rettberg2015-02-221-21/+18Star
| | | | | | - Added message type parameter - Log to file and stdout, no more logging in memory - Added options to server.conf to filter which messages show up where
* [SERVER] Set client connection timeout in client threadSimon Rettberg2015-01-071-2/+0Star
|
* [SERVER] Big code cleanup, refactoring, minor bugfixingSimon Rettberg2015-01-061-52/+51Star
|
* [SERVER] Use a thread pool for client connectionsSimon Rettberg2015-01-051-7/+7
|
* [SERVER] Use stdbool.h for booleans; minor refactoring of variable and ↵Simon Rettberg2014-12-311-15/+15
| | | | function names
* [SERVER] Minor tweaks and improvementsSimon Rettberg2014-12-311-2/+2
|
* [SERVER] Configurable client timeout, adaptive replication speed (to be ↵Simon Rettberg2014-12-221-2/+2
| | | | 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/+6
| | | | change stupid convention of freeDiskSpace returning 0 on error, which is ambiguous to the disk simply being full...
* [SERVER] Thread and uplink handlingSimon Rettberg2014-02-131-4/+3Star
|
* [*] Add automatic version string generationv2.0Simon Rettberg2014-01-131-0/+1
|
* [SERVER] Don't wait forever on shutdownSimon Rettberg2014-01-131-1/+2
|
* [SERVER] SIGHUP triggers reload aswell. Some changes to server shutdown ↵Simon Rettberg2014-01-021-21/+18Star
| | | | function.
* [SERVER] Fix possible deadlock through printf usage in signal handlerSimon Rettberg2013-12-101-15/+21
|
* [SERVER] Once again rework locking in uplink and freeing of resources to ↵Simon Rettberg2013-11-151-1/+1
| | | | fight messups when the uplink is shut down
* [SERVER] Create client threads detached instead of detaching them after ↵Simon Rettberg2013-11-141-5/+4Star
| | | | creation to prevent a race condition where a thread dies faster than we can call pthread_detach, which leads to a use-after-free
* [SERVER] Shut down altservers finder properlySimon Rettberg2013-11-121-0/+2
|
* Joey style commitSimon Rettberg2013-11-071-1/+1
|
* [SERVER] Add --bind parameter to specify bind interface (currently IPv4 only)Simon Rettberg2013-11-071-2/+8
|
* [SERVER] Block signals on network threadsSimon Rettberg2013-09-171-1/+2
|
* [SERVER] Typo...Simon Rettberg2013-09-161-1/+1
|
* [SERVER] More debugging, more safety checks, disable alt servers that fail ↵Simon Rettberg2013-09-161-29/+44
| | | | too often
* [SERVER] Copy CRC-32 list from uplink server if availableSimon Rettberg2013-08-281-2/+11
| | | | | Split up helper.c, move file/disk related functions to fileutil.c Uplink: Make sure relayed requests are at least 1MiB
* [SERVER] On-the-fly transparent proxyingSimon Rettberg2013-08-261-4/+7
|
* [SERVER] FormattingSimon Rettberg2013-08-191-5/+16
|
* [SERVER] Remove dead codeSimon Rettberg2013-08-151-2/+0Star
|
* Test your coke, dork!Simon Rettberg2013-08-131-2/+0Star
|
* [SERVER] Fix race condition in uplink request aggregation, other small ↵Simon Rettberg2013-08-131-0/+2
| | | | improvements and debugging features
* [SERVER] Improve proxy mode, implement integrity check in proxy modeSimon Rettberg2013-08-121-2/+12
|
* [SERVER] Fix use-after-free, improve cleanupSimon Rettberg2013-08-021-9/+28
|
* [SERVER] Some sanity here and there, minor fixes, trying to track down proxy ↵Simon Rettberg2013-08-021-1/+3
| | | | corruption
* [SERVER] several improvementsSimon Rettberg2013-08-021-6/+0Star
| | | | | | 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-8/+11
|
* [SERVER] Add command line options to create empty image of certain size with ↵Simon Rettberg2013-08-011-20/+50
| | | | 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-3/+4
| | | | yet, so prepare for lots of fixes ;))
* [SERVER] Still working on the uplink... Almost theresr2013-07-261-1/+11
|
* ...Working on proxy mode...sr2013-07-251-2/+3
|
* Implement CRC-32 list generation; fix quick CRC-32 check on image loadingsr2013-07-231-9/+11
|
* Completely remove glib as dependencysr2013-07-181-3/+1Star
|
* kernel module changessr2013-07-181-5/+10
|
* Remove all glib dependencies from serversr2013-07-171-15/+4Star
|
* Replace all pthread_spin_* calls with spin_*, so that all locking can be ↵sr2013-07-171-27/+41
| | | | | | tracked and debugged Fix compilation of kernel module
* Fix more bugs, remove debug messagessr2013-07-161-26/+25Star
|
* Fix bugs from rewrite so it actually workssr2013-07-161-0/+3
|
* "It's compiling!"sr2013-07-151-27/+72
|
* Rewriiiiiiiiitesr2013-07-151-8/+1Star
|
* Rewriting.....sr2013-07-131-2/+3
|