| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [SERVER] Remove non-working images from list, plus refactoring | Simon Rettberg | 2015-12-15 | 6 | -131/+315 |
| | | | | | | | | | | | Now that we can automatically load unknown images from disk on request, it makes sense to remove non-working images from the image list. On future requests, we will look for them on disk again, which is nice in case of temporary storage hickups. Also, some more ore less related locking has been refined (loading images, replicating images) | ||||
| * | [SERVER] Make listen port configurable | Simon Rettberg | 2015-12-14 | 3 | -3/+18 |
| | | |||||
| * | [SERVER] Free memory on exit to get new valgrind high score | Simon Rettberg | 2015-12-14 | 1 | -1/+4 |
| | | |||||
| * | [SERVER] Disallow images starting with "." now that we allow load-on-demand | Simon Rettberg | 2015-12-14 | 1 | -1/+2 |
| | | | | | | This will prevent hidden files from being exported to clients and also prevents directory traversal attacks ( ../../image.img ) | ||||
| * | [SERVER] Support looking on disk if an unknown image is requested | Simon Rettberg | 2015-12-12 | 5 | -28/+116 |
| | | |||||
| * | [SERVER] Nullpad images virtually at runtime instead of padding the actual file | Simon Rettberg | 2015-12-10 | 6 | -173/+158![]() |
| | | |||||
| * | [SERVER] Remove redundant range check | Simon Rettberg | 2015-12-09 | 1 | -8/+0![]() |
| | | |||||
| * | [SERVER] Use error code constants instead of magic values | Simon Rettberg | 2015-12-07 | 1 | -4/+4 |
| | | |||||
| * | [SERVER] Add missing nullptr check from refactoring, improve locking | Simon Rettberg | 2015-12-07 | 1 | -9/+11 |
| | | |||||
| * | [SERVER] Update includes for moved log.h | Simon Rettberg | 2015-12-02 | 10 | -11/+11 |
| | | |||||
| * | [FUSE] Compiles again | Simon Rettberg | 2015-11-30 | 2 | -238/+0![]() |
| | | |||||
| * | [FUSE] Mid-refactoring, does not compile | Simon Rettberg | 2015-11-24 | 8 | -306/+6![]() |
| | | |||||
| * | [SERVER] Fix race condition potentially leading to use after release | Simon Rettberg | 2015-11-23 | 1 | -2/+2 |
| | | |||||
| * | [FUSE] Start refactoring so we can handle multithread fuse | Simon Rettberg | 2015-11-21 | 7 | -109/+8![]() |
| | | |||||
| * | [SERVER] Improve image related locking | Simon Rettberg | 2015-11-20 | 1 | -1/+7 |
| | | |||||
| * | [SERVER] Check uplink server for newer revision than local if client ↵ | Simon Rettberg | 2015-11-11 | 1 | -15/+22 |
| | | | | | requests rid=0 | ||||
| * | [SERVER] Fix integer overflow of global bytesReceived getter | Simon Rettberg | 2015-05-13 | 1 | -1/+1 |
| | | |||||
| * | [SERVER] Reload images in another thread when triggered by signal | Simon Rettberg | 2015-05-12 | 3 | -38/+62 |
| | | | | | | | | 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 | 3 | -3/+3 |
| | | |||||
| * | [SERVER] Rename some more RPC fields | Simon Rettberg | 2015-05-08 | 2 | -2/+2 |
| | | |||||
| * | [SERVER] Add image ID for easier handling in RPC, export RID via RPC, make ↵ | Simon Rettberg | 2015-05-08 | 4 | -11/+17 |
| | | | | | names of the byte count fields in RPC consistent | ||||
| * | [SERVER] Fix premature connection close for RPC replies | Simon Rettberg | 2015-05-05 | 3 | -7/+40 |
| | | |||||
| * | [Server] Added statistics of images and uptime to json. | Stephan Schwaer | 2015-05-05 | 8 | -48/+35![]() |
| | | |||||
| * | Removed dnbd3_printClients, added clients to statistics json in rpc. | Stephan Schwaer | 2015-05-04 | 7 | -32/+89 |
| | | |||||
| * | [SERVER] PoC RPC interface | schwaers | 2015-04-30 | 3 | -2/+31 |
| | | |||||
| * | [SERVER] Added counters for received and sent bytes. | Stephan Schwaer | 2015-04-27 | 6 | -2/+39 |
| | | |||||
| * | [FUSE] Integrate into cmake build process | Simon Rettberg | 2015-04-24 | 4 | -139/+3![]() |
| | | |||||
| * | [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 | 8 | -29/+50 |
| | | | | | 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 | 5 | -36/+44 |
| | | | | | condition in uplink_init | ||||
| * | [SERVER] Crank up warning levels of gcc and fix them all (mostly sign ↵ | Simon Rettberg | 2015-01-14 | 10 | -27/+33 |
| | | | | | | | | 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 |
| | | |||||
| * | [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 | 19 | -328/+325![]() |
| | | | | | 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 |
| | | |||||

