Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [SERVER] Experimental support for sparse files in proxy mode | Simon Rettberg | 2018-03-15 | 1 | -0/+2 |
| | | | | | | | | | | | | Will not preallocate images in this mode. Old images are only deleted if the disk is full, determined by write() calls to the cache file yielding ENOSPC or EDQUOT. In such a case, the least recently used image(s) will be deleted to free up at least 256MiB, and then the write() call will be repeated. This *should* work somewhat reliably unless the cache partition is ridiculously small. Performance might suffer a little, and disk fragmentation might occur much faster than in prealloc mode. Testing is needed. | ||||
* | [SERVER] Image list private to image.c | Simon Rettberg | 2017-10-31 | 1 | -3/+0 |
| | |||||
* | [SERVER] Refactor: Move client list to net.* and isolate | Simon Rettberg | 2017-09-07 | 1 | -2/+3 |
| | |||||
* | [SERVER] Implement closeUnusedFd config option | Simon Rettberg | 2017-09-02 | 1 | -0/+2 |
| | | | | | | | This will close the readFd of images that have no active clients after some idle period (1 hour currently). Prevents deleted images from taking up space until the server is shut down. | ||||
* | [SERVER] Split server-only defs from config.h to serverconfig.h | Simon Rettberg | 2017-08-26 | 1 | -2/+1 |
| | |||||
* | cleanup commits | Sebastian | 2016-02-11 | 1 | -3/+2 |
| | |||||
* | [SERVER] Performance: Optimized some functions (gprof) | Simon Rettberg | 2015-12-17 | 1 | -1/+1 |
| | | | | | | | A run with gprof revealed that background replication is a huge CPU hog. The block selection was very slow and has been improved a lot. Minor improvements were made to other functions that scan the cache map of an image and are thus relatively slow. | ||||
* | [SERVER] Support looking on disk if an unknown image is requested | Simon Rettberg | 2015-12-12 | 1 | -1/+1 |
| | |||||
* | [SERVER] Reload images in another thread when triggered by signal | Simon Rettberg | 2015-05-12 | 1 | -1/+2 |
| | | | | | | | The server used to reload all images on the main thread, which is also responsible for accepting connections. While reloading the list, no new connections were accepted, which lead to clients marking the server as bad during their RTT measurements, then switching away from it. | ||||
* | [SERVER] Renamed image_fillJson to image_getListAsJson. | Stephan Schwaer | 2015-05-08 | 1 | -1/+1 |
| | |||||
* | [Server] Added statistics of images and uptime to json. | Stephan Schwaer | 2015-05-05 | 1 | -1/+3 |
| | |||||
* | [SERVER] Fix automatic proxying to use supplied connection; fix race ↵ | Simon Rettberg | 2015-01-27 | 1 | -1/+1 |
| | | | | condition in uplink_init | ||||
* | [SERVER] Big code cleanup, refactoring, minor bugfixing | Simon Rettberg | 2015-01-06 | 1 | -2/+2 |
| | |||||
* | [SERVER] Use stdbool.h for booleans; minor refactoring of variable and ↵ | Simon Rettberg | 2014-12-31 | 1 | -7/+7 |
| | | | | function names | ||||
* | Improve uplink handling, add code to debug thread creation/destruction, ↵ | Simon Rettberg | 2014-06-16 | 1 | -1/+1 |
| | | | | change stupid convention of freeDiskSpace returning 0 on error, which is ambiguous to the disk simply being full... | ||||
* | [SERVER] Save cache maps every 30 mins | Simon Rettberg | 2013-11-12 | 1 | -0/+2 |
| | |||||
* | [SERVER] More debugging, more safety checks, disable alt servers that fail ↵ | Simon Rettberg | 2013-09-16 | 1 | -0/+4 |
| | | | | too often | ||||
* | [SERVER] On-the-fly transparent proxying | Simon Rettberg | 2013-08-26 | 1 | -0/+2 |
| | |||||
* | [SERVER] Improve proxy mode, implement integrity check in proxy mode | Simon Rettberg | 2013-08-12 | 1 | -0/+4 |
| | |||||
* | [SERVER] Fix use-after-free, improve cleanup | Simon Rettberg | 2013-08-02 | 1 | -5/+7 |
| | |||||
* | [SERVER] Some sanity here and there, minor fixes, trying to track down proxy ↵ | Simon Rettberg | 2013-08-02 | 1 | -0/+2 |
| | | | | corruption | ||||
* | [SERVER] Add command line options to create empty image of certain size with ↵ | Simon Rettberg | 2013-08-01 | 1 | -1/+2 |
| | | | | empty cache map (so it needs an uplink server) | ||||
* | Work in progress: uplink | sr | 2013-07-25 | 1 | -0/+15 |
| | |||||
* | Implement CRC-32 list generation; fix quick CRC-32 check on image loading | sr | 2013-07-23 | 1 | -0/+1 |
| | |||||
* | Remove all glib dependencies from server | sr | 2013-07-17 | 1 | -0/+2 |
| | |||||
* | "It's compiling!" | sr | 2013-07-15 | 1 | -27/+2 |
| | |||||
* | Rewriiiiiiiiite | sr | 2013-07-15 | 1 | -0/+5 |
| | |||||
* | Rewrite still in progres.... | sr | 2013-07-11 | 1 | -1/+26 |
| | |||||
* | Rewrite in progres.... | sr | 2013-07-09 | 1 | -0/+10 |
| | |||||
* | Rewriting.... | sr | 2013-07-08 | 1 | -0/+8 |