summaryrefslogtreecommitdiffstats
path: root/src/server/image.c
Commit message (Collapse)AuthorAgeFilesLines
* [SERVER] Add missing nullptr check from refactoring, improve lockingSimon Rettberg2015-12-071-9/+11
|
* [SERVER] Update includes for moved log.hSimon Rettberg2015-12-021-1/+1
|
* [FUSE] Mid-refactoring, does not compileSimon Rettberg2015-11-241-1/+1
|
* [FUSE] Start refactoring so we can handle multithread fuseSimon Rettberg2015-11-211-2/+2
|
* [SERVER] Improve image related lockingSimon Rettberg2015-11-201-1/+7
|
* [SERVER] Check uplink server for newer revision than local if client ↵Simon Rettberg2015-11-111-15/+22
| | | | requests rid=0
* [SERVER] Reload images in another thread when triggered by signalSimon Rettberg2015-05-121-31/+48
| | | | | | | 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 Schwaer2015-05-081-1/+1
|
* [SERVER] Rename some more RPC fieldsSimon Rettberg2015-05-081-1/+1
|
* [SERVER] Add image ID for easier handling in RPC, export RID via RPC, make ↵Simon Rettberg2015-05-081-2/+5
| | | | names of the byte count fields in RPC consistent
* [Server] Added statistics of images and uptime to json.Stephan Schwaer2015-05-051-13/+12Star
|
* [FUSE] Integrate into cmake build processSimon Rettberg2015-04-241-1/+1
|
* [SERVER] printf -> logadd, make USR2 trigger a log cycle, remove old fake ↵Simon Rettberg2015-02-231-22/+23
| | | | delay feature
* [SERVER] Overhauled loggingSimon Rettberg2015-02-221-42/+42
| | | | | | - 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] Use shared file handle for readingSimon Rettberg2015-01-301-17/+15Star
|
* [SERVER] Implement proper keep alive for uplinksSimon Rettberg2015-01-281-10/+14
|
* [SERVER] Also fix fd leak if uplink_init failsSimon Rettberg2015-01-271-1/+1
|
* [SERVER] Fix automatic proxying to use supplied connection; fix race ↵Simon Rettberg2015-01-271-14/+16
| | | | condition in uplink_init
* [SERVER] Crank up warning levels of gcc and fix them all (mostly sign ↵Simon Rettberg2015-01-141-11/+12
| | | | | | | 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] Big code cleanup, refactoring, minor bugfixingSimon Rettberg2015-01-061-34/+49
|
* [SERVER] Dead code removal, minor performance tweaks, refactoring, etc.Simon Rettberg2015-01-021-2/+2
|
* [SERVER] Use stdbool.h for booleans; minor refactoring of variable and ↵Simon Rettberg2014-12-311-98/+97Star
| | | | function names
* [SERVER] Improve replication and reconnecting behaviourSimon Rettberg2014-12-221-1/+1
|
* Improve uplink handling, add code to debug thread creation/destruction, ↵Simon Rettberg2014-06-161-9/+12
| | | | change stupid convention of freeDiskSpace returning 0 on error, which is ambiguous to the disk simply being full...
* Fixed the amazing infinite loop I introduced when refactoringSimon Rettberg2014-01-111-8/+18
|
* [SERVER] Fix old image deletion, make image_load a bit nicerSimon Rettberg2014-01-091-102/+146
|
* [SERVER] Clean up properly when deleting an imageSimon Rettberg2013-12-061-1/+9
|
* [SERVER] Fix free disk space checkSimon Rettberg2013-12-041-0/+4
|
* [SERVER] Deletion restrictionsSimon Rettberg2013-11-201-1/+1
|
* [SERVER] Stümperhaften double-free gefixtSimon Rettberg2013-11-191-3/+3
|
* [SERVER] Forgot a return that lead to locking messup :/Simon Rettberg2013-11-131-0/+1
|
* [SERVER] Don't lock on image array when saving cache mapsSimon Rettberg2013-11-131-2/+4
|
* [SERVER] Mark image complete if soSimon Rettberg2013-11-131-0/+5
|
* [SERVER] Save cache maps every 30 minsSimon Rettberg2013-11-121-1/+13
|
* Merge branch 'simon' of dnbd3:dnbd3 into simonSimon Rettberg2013-11-121-7/+7
|\ | | | | | | | | Conflicts: src/server/altservers.c
| * [SERVER] Minor tweaks here and thereSimon Rettberg2013-11-101-7/+7
| |
* | [SERVER] Fix embarrassing deadlock when deleting old imagesSimon Rettberg2013-11-121-9/+9
|/
* [SERVER] Fetch correct revision after cloningSimon Rettberg2013-10-011-3/+3
|
* [SERVER] Properly decrease uplink.queueLen when removing a clientSimon Rettberg2013-09-171-2/+7
|
* [SERVER] More debugging, more safety checks, disable alt servers that fail ↵Simon Rettberg2013-09-161-1/+52
| | | | too often
* [SERVER] Remove stupid 1MiB request expansion, this clearly needs to be done ↵Simon Rettberg2013-08-281-1/+1
| | | | differently :)
* [SERVER] Copy CRC-32 list from uplink server if availableSimon Rettberg2013-08-281-20/+97
| | | | | 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-18/+42
|
* [SERVER] WIP: On-the-fly image cloningSimon Rettberg2013-08-231-4/+120
|
* I'm stupidSimon Rettberg2013-08-121-1/+1
|
* [SERVER] Improve proxy mode, implement integrity check in proxy modeSimon Rettberg2013-08-121-21/+75
|
* [SERVER] Fix use-after-free, improve cleanupSimon Rettberg2013-08-021-14/+50
|
* [SERVER] Some sanity here and there, minor fixes, trying to track down proxy ↵Simon Rettberg2013-08-021-4/+29
| | | | corruption
* [SERVER] several improvementsSimon Rettberg2013-08-021-2/+2
| | | | | | 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-2/+3
|