summaryrefslogtreecommitdiffstats
path: root/src/server/altservers.c
Commit message (Collapse)AuthorAgeFilesLines
* [SERVER] Minor fixes, add quick and dirty clang support to CMakeLists.txtSimon Rettberg2014-01-091-1/+2
| | | | | | 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] Remove annoying message about cache maps being savedSimon Rettberg2013-12-061-1/+1
|
* [SERVER] Like kernel module, request first block, not random oneSimon Rettberg2013-11-171-4/+2Star
|
* [SERVER] Increase RTT check delay for uplinks that failed too many times to ↵Simon Rettberg2013-11-131-1/+4
| | | | save network bandwidth
* [SERVER] Shut down altservers finder properlySimon Rettberg2013-11-121-4/+6
|
* [SERVER] Save cache maps every 30 minsSimon Rettberg2013-11-121-0/+9
|
* Merge branch 'simon' of dnbd3:dnbd3 into simonSimon Rettberg2013-11-121-78/+108
|\ | | | | | | | | Conflicts: src/server/altservers.c
| * [SERVER] Minor tweaks here and thereSimon Rettberg2013-11-101-1/+1
| |
| * [SERVER] Split "pending" lock for alt-server finding into producer and ↵Simon Rettberg2013-11-101-75/+105
| | | | | | | | | | | | consumer lock to fix a potential NPA when an uplink dies Also some refactoring of variable names and more comments
* | [SERVER] Add "client only" flag for alt serversSimon Rettberg2013-11-121-4/+8
|/
* blaSimon Rettberg2013-11-071-0/+1
|
* [SERVER] Only mark server as bad on unecpected errorSimon Rettberg2013-10-241-7/+6Star
|
* [SERVER] Refactoring, more debug output, try to check for cyclic proxyingSimon Rettberg2013-10-221-5/+5
|
* [SERVER] Block signals on network threadsSimon Rettberg2013-09-171-0/+1
|
* [SERVER] Fix generation of alt-server list for clientSimon Rettberg2013-09-171-6/+6
|
* [SERVER] More debugging, more safety checks, disable alt servers that fail ↵Simon Rettberg2013-09-161-0/+24
| | | | too often
* [SERVER] Remove stupid 1MiB request expansion, this clearly needs to be done ↵Simon Rettberg2013-08-281-2/+2
| | | | differently :)
* [SERVER] Fix *printf format strings, remove falsely detected errorsSimon Rettberg2013-08-281-4/+6
|
* [SERVER] Copy CRC-32 list from uplink server if availableSimon Rettberg2013-08-281-11/+23
| | | | | 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-35/+34Star
|
* [SERVER] WIP: On-the-fly image cloningSimon Rettberg2013-08-231-53/+19Star
|
* [SERVER] (Hopefully) fix starving uplink requestsSimon Rettberg2013-08-151-15/+24
|
* Test your coke, dork!Simon Rettberg2013-08-131-3/+6
|
* [SERVER] Fix race condition in uplink request aggregation, other small ↵Simon Rettberg2013-08-131-0/+1
| | | | improvements and debugging features
* [SERVER] Improve proxy mode, implement integrity check in proxy modeSimon Rettberg2013-08-121-5/+12
|
* [SERVER] Some sanity here and there, minor fixes, trying to track down proxy ↵Simon Rettberg2013-08-021-4/+4
| | | | corruption
* [SERVER] several improvementsSimon Rettberg2013-08-021-1/+30
| | | | | | 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
* fix0rsSimon Rettberg2013-08-021-0/+3
|
* [SERVER] Add command line options to create empty image of certain size with ↵Simon Rettberg2013-08-011-0/+48
| | | | 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-0/+390
yet, so prepare for lots of fixes ;))