summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [SERVER] Fix bug where checking if a request is cached would yield a false ↵Simon Rettberg2015-02-191-6/+7
| | | | negative
* [SERVER] Fix really stupid bug where received data gets written to random memorySimon Rettberg2015-02-191-1/+1
|
* [SERVER] Fix two minor bugs: Replication stall, integrity checker 100% CPU usageSimon Rettberg2015-02-042-2/+1Star
|
* [SERVER] Use shared file handle for readingSimon Rettberg2015-01-304-51/+49Star
|
* [SERVER] Implement proper keep alive for uplinksSimon Rettberg2015-01-282-27/+30
|
* [SERVER] Also fix fd leak if uplink_init failsSimon Rettberg2015-01-272-1/+2
|
* [SERVER] Fix automatic proxying to use supplied connection; fix race ↵Simon Rettberg2015-01-276-37/+45
| | | | condition in uplink_init
* [SERVER] Crank up warning levels of gcc and fix them all (mostly sign ↵Simon Rettberg2015-01-1412-28/+43
| | | | | | | 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] Fix stupid bug (not using errno)Simon Rettberg2015-01-132-3/+4
|
* Fix compilation on CentOS by adding yet another endian related checkSimon Rettberg2015-01-131-1/+1
|
* [CLIENT] Fix compilation, adapt to stdbool.hSimon Rettberg2015-01-131-25/+25
|
* [SERVER] Refactoring, extending protocol.hSimon Rettberg2015-01-092-30/+40
|
* [SERVER] Support blocking signals, saves a syscall in threadpoolSimon Rettberg2015-01-093-2/+13
|
* [SERVER] Set client connection timeout in client threadSimon Rettberg2015-01-072-2/+2
|
* [SERVER] Get rid of epoll in alservers.c, make valgrind+gdb happy by ↵Simon Rettberg2015-01-065-39/+17Star
| | | | handling signals even though we block them
* [SERVER] Big code cleanup, refactoring, minor bugfixingSimon Rettberg2015-01-0611-280/+308
|
* [SERVER] Use a thread pool for client connectionsSimon Rettberg2015-01-058-19/+145
|
* [SERVER] Dead code removal, minor performance tweaks, refactoring, etc.Simon Rettberg2015-01-025-99/+24Star
|
* [SERVER] Use stdbool.h for booleans; minor refactoring of variable and ↵Simon Rettberg2014-12-3120-335/+326Star
| | | | function names
* [SERVER] Minor tweaks and improvementsSimon Rettberg2014-12-314-9/+15
|
* [SERVER] Create compilation unit for wait/signalling logic (using eventfd)Simon Rettberg2014-12-315-54/+118
|
* [SERVER] Add setting to enable/disable background replication, add comments ↵Simon Rettberg2014-12-293-4/+20
| | | | to config and code
* [SERVER] Fix new sendfile handling, wake up uplink thread if server should ↵Simon Rettberg2014-12-222-1/+4
| | | | be changed
* [SERVER] Improve replication and reconnecting behaviourSimon Rettberg2014-12-226-36/+38
|
* [SERVER] Configurable client timeout, adaptive replication speed (to be ↵Simon Rettberg2014-12-227-25/+44
| | | | tested against varying bw/latency), retry sendfile call if ret <= len
* [KERNEL] Support for kernel 3.14Simon Rettberg2014-07-041-1/+6
|
* Improve uplink handling, add code to debug thread creation/destruction, ↵Simon Rettberg2014-06-1612-63/+135
| | | | change stupid convention of freeDiskSpace returning 0 on error, which is ambiguous to the disk simply being full...
* [CLIENT] Debug argument handling in daemon modeSimon Rettberg2014-04-151-9/+13
|
* [SERVER] Thread and uplink handlingSimon Rettberg2014-02-133-4/+5
|
* [*] Add automatic version string generationv2.0Simon Rettberg2014-01-134-2/+11
|
* [SERVER] Don't wait forever on shutdownSimon Rettberg2014-01-131-1/+2
|
* [SERVER] Remove assertion that doesn't really check for an illegal stateSimon Rettberg2014-01-131-1/+0Star
|
* Fixed the amazing infinite loop I introduced when refactoringSimon Rettberg2014-01-111-8/+18
|
* [SERVER] Minor fixes, add quick and dirty clang support to CMakeLists.txtSimon Rettberg2014-01-092-2/+3
| | | | | | Use 'CC=/usr/local/bin/clang cmake -D_CMAKE_TOOLCHAIN_PREFIX=llvm- ..' to compile using clang. Requires LLVM 3.1 since AddressSanitizer is used for clang debug builds.
* [SERVER] Fix old image deletion, make image_load a bit nicerSimon Rettberg2014-01-091-102/+146
|
* [SERVER] SIGHUP triggers reload aswell. Some changes to server shutdown ↵Simon Rettberg2014-01-021-21/+18Star
| | | | function.
* [KERNEL] Improved read timeout handlingSimon Rettberg2013-12-202-5/+8
|
* [SERVER] Fix possible deadlock through printf usage in signal handlerSimon Rettberg2013-12-101-15/+21
|
* [SERVER] Clean up properly when deleting an imageSimon Rettberg2013-12-061-1/+9
|
* [SERVER] Remove annoying message about cache maps being savedSimon Rettberg2013-12-061-1/+1
|
* [SERVER] Fix free disk space checkSimon Rettberg2013-12-042-1/+5
|
* [SERVER] Deletion restrictionsSimon Rettberg2013-11-201-1/+1
|
* [SERVER] Stümperhaften double-free gefixtSimon Rettberg2013-11-191-3/+3
|
* [SERVER] Like kernel module, request first block, not random oneSimon Rettberg2013-11-171-4/+2Star
|
* [KERNEL] Don't pick a random block for RTT measurementSimon Rettberg2013-11-171-17/+3Star
| | | | It's a bad idea.
* [SERVER] Once again rework locking in uplink and freeing of resources to ↵Simon Rettberg2013-11-152-18/+37
| | | | 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] Forgot a return that lead to locking messup :/Simon Rettberg2013-11-131-0/+1
|
* [SERVER] Automatic replication of images that are not complete on proxy. ↵Simon Rettberg2013-11-132-2/+56
| | | | 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-133-10/+16
| | | | save network bandwidth