Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [SERVER] Correct debug/error messages in altserver.c | Simon Rettberg | 2015-03-05 | 1 | -7/+7 |
| | |||||
* | [SERVER] printf -> logadd, make USR2 trigger a log cycle, remove old fake ↵ | Simon Rettberg | 2015-02-23 | 7 | -74/+53 |
| | | | | delay feature | ||||
* | [SERVER] Overhauled logging | Simon Rettberg | 2015-02-22 | 16 | -330/+429 |
| | | | | | | - 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 | ||||
* | Get rid of unneccessary volatile | Simon Rettberg | 2015-02-22 | 9 | -31/+52 |
| | | | | Some minor debugging code, mostly commented out | ||||
* | [SERVER] Fix bug where checking if a request is cached would yield a false ↵ | Simon Rettberg | 2015-02-19 | 1 | -6/+7 |
| | | | | negative | ||||
* | [SERVER] Fix really stupid bug where received data gets written to random memory | Simon Rettberg | 2015-02-19 | 1 | -1/+1 |
| | |||||
* | [SERVER] Fix two minor bugs: Replication stall, integrity checker 100% CPU usage | Simon Rettberg | 2015-02-04 | 2 | -2/+1 |
| | |||||
* | [SERVER] Use shared file handle for reading | Simon Rettberg | 2015-01-30 | 4 | -51/+49 |
| | |||||
* | [SERVER] Implement proper keep alive for uplinks | Simon Rettberg | 2015-01-28 | 2 | -27/+30 |
| | |||||
* | [SERVER] Also fix fd leak if uplink_init fails | Simon Rettberg | 2015-01-27 | 2 | -1/+2 |
| | |||||
* | [SERVER] Fix automatic proxying to use supplied connection; fix race ↵ | Simon Rettberg | 2015-01-27 | 6 | -37/+45 |
| | | | | condition in uplink_init | ||||
* | [SERVER] Crank up warning levels of gcc and fix them all (mostly sign ↵ | Simon Rettberg | 2015-01-14 | 12 | -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 Rettberg | 2015-01-13 | 2 | -3/+4 |
| | |||||
* | Fix compilation on CentOS by adding yet another endian related check | Simon Rettberg | 2015-01-13 | 1 | -1/+1 |
| | |||||
* | [CLIENT] Fix compilation, adapt to stdbool.h | Simon Rettberg | 2015-01-13 | 1 | -25/+25 |
| | |||||
* | [SERVER] Refactoring, extending protocol.h | Simon Rettberg | 2015-01-09 | 2 | -30/+40 |
| | |||||
* | [SERVER] Support blocking signals, saves a syscall in threadpool | Simon Rettberg | 2015-01-09 | 3 | -2/+13 |
| | |||||
* | [SERVER] Set client connection timeout in client thread | Simon Rettberg | 2015-01-07 | 2 | -2/+2 |
| | |||||
* | [SERVER] Get rid of epoll in alservers.c, make valgrind+gdb happy by ↵ | Simon Rettberg | 2015-01-06 | 5 | -39/+17 |
| | | | | handling signals even though we block them | ||||
* | [SERVER] Big code cleanup, refactoring, minor bugfixing | Simon Rettberg | 2015-01-06 | 11 | -280/+308 |
| | |||||
* | [SERVER] Use a thread pool for client connections | Simon Rettberg | 2015-01-05 | 8 | -19/+145 |
| | |||||
* | [SERVER] Dead code removal, minor performance tweaks, refactoring, etc. | Simon Rettberg | 2015-01-02 | 5 | -99/+24 |
| | |||||
* | [SERVER] Use stdbool.h for booleans; minor refactoring of variable and ↵ | Simon Rettberg | 2014-12-31 | 20 | -335/+326 |
| | | | | function names | ||||
* | [SERVER] Minor tweaks and improvements | Simon Rettberg | 2014-12-31 | 4 | -9/+15 |
| | |||||
* | [SERVER] Create compilation unit for wait/signalling logic (using eventfd) | Simon Rettberg | 2014-12-31 | 5 | -54/+118 |
| | |||||
* | [SERVER] Add setting to enable/disable background replication, add comments ↵ | Simon Rettberg | 2014-12-29 | 3 | -4/+20 |
| | | | | to config and code | ||||
* | [SERVER] Fix new sendfile handling, wake up uplink thread if server should ↵ | Simon Rettberg | 2014-12-22 | 2 | -1/+4 |
| | | | | be changed | ||||
* | [SERVER] Improve replication and reconnecting behaviour | Simon Rettberg | 2014-12-22 | 6 | -36/+38 |
| | |||||
* | [SERVER] Configurable client timeout, adaptive replication speed (to be ↵ | Simon Rettberg | 2014-12-22 | 7 | -25/+44 |
| | | | | tested against varying bw/latency), retry sendfile call if ret <= len | ||||
* | [KERNEL] Support for kernel 3.14 | Simon Rettberg | 2014-07-04 | 1 | -1/+6 |
| | |||||
* | Improve uplink handling, add code to debug thread creation/destruction, ↵ | Simon Rettberg | 2014-06-16 | 12 | -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 mode | Simon Rettberg | 2014-04-15 | 1 | -9/+13 |
| | |||||
* | [SERVER] Thread and uplink handling | Simon Rettberg | 2014-02-13 | 3 | -4/+5 |
| | |||||
* | [*] Add automatic version string generationv2.0 | Simon Rettberg | 2014-01-13 | 4 | -2/+11 |
| | |||||
* | [SERVER] Don't wait forever on shutdown | Simon Rettberg | 2014-01-13 | 1 | -1/+2 |
| | |||||
* | [SERVER] Remove assertion that doesn't really check for an illegal state | Simon Rettberg | 2014-01-13 | 1 | -1/+0 |
| | |||||
* | Fixed the amazing infinite loop I introduced when refactoring | Simon Rettberg | 2014-01-11 | 1 | -8/+18 |
| | |||||
* | [SERVER] Minor fixes, add quick and dirty clang support to CMakeLists.txt | Simon Rettberg | 2014-01-09 | 2 | -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 nicer | Simon Rettberg | 2014-01-09 | 1 | -102/+146 |
| | |||||
* | [SERVER] SIGHUP triggers reload aswell. Some changes to server shutdown ↵ | Simon Rettberg | 2014-01-02 | 1 | -21/+18 |
| | | | | function. | ||||
* | [KERNEL] Improved read timeout handling | Simon Rettberg | 2013-12-20 | 2 | -5/+8 |
| | |||||
* | [SERVER] Fix possible deadlock through printf usage in signal handler | Simon Rettberg | 2013-12-10 | 1 | -15/+21 |
| | |||||
* | [SERVER] Clean up properly when deleting an image | Simon Rettberg | 2013-12-06 | 1 | -1/+9 |
| | |||||
* | [SERVER] Remove annoying message about cache maps being saved | Simon Rettberg | 2013-12-06 | 1 | -1/+1 |
| | |||||
* | [SERVER] Fix free disk space check | Simon Rettberg | 2013-12-04 | 2 | -1/+5 |
| | |||||
* | [SERVER] Deletion restrictions | Simon Rettberg | 2013-11-20 | 1 | -1/+1 |
| | |||||
* | [SERVER] Stümperhaften double-free gefixt | Simon Rettberg | 2013-11-19 | 1 | -3/+3 |
| | |||||
* | [SERVER] Like kernel module, request first block, not random one | Simon Rettberg | 2013-11-17 | 1 | -4/+2 |
| | |||||
* | [KERNEL] Don't pick a random block for RTT measurement | Simon Rettberg | 2013-11-17 | 1 | -17/+3 |
| | | | | It's a bad idea. | ||||
* | [SERVER] Once again rework locking in uplink and freeing of resources to ↵ | Simon Rettberg | 2013-11-15 | 2 | -18/+37 |
| | | | | fight messups when the uplink is shut down |