Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [SERVER] Implement proper keep alive for uplinks | Simon Rettberg | 2015-01-28 | 1 | -17/+16 | |
| | ||||||
* | [SERVER] Also fix fd leak if uplink_init fails | Simon Rettberg | 2015-01-27 | 1 | -0/+1 | |
| | ||||||
* | [SERVER] Fix automatic proxying to use supplied connection; fix race ↵ | Simon Rettberg | 2015-01-27 | 1 | -18/+26 | |
| | | | | condition in uplink_init | |||||
* | [SERVER] Crank up warning levels of gcc and fix them all (mostly sign ↵ | Simon Rettberg | 2015-01-14 | 1 | -2/+2 | |
| | | | | | | | 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 | 1 | -1/+1 | |
| | ||||||
* | [SERVER] Refactoring, extending protocol.h | Simon Rettberg | 2015-01-09 | 1 | -22/+13 | |
| | ||||||
* | [SERVER] Big code cleanup, refactoring, minor bugfixing | Simon Rettberg | 2015-01-06 | 1 | -8/+7 | |
| | ||||||
* | [SERVER] Dead code removal, minor performance tweaks, refactoring, etc. | Simon Rettberg | 2015-01-02 | 1 | -18/+9 | |
| | ||||||
* | [SERVER] Use stdbool.h for booleans; minor refactoring of variable and ↵ | Simon Rettberg | 2014-12-31 | 1 | -39/+34 | |
| | | | | function names | |||||
* | [SERVER] Create compilation unit for wait/signalling logic (using eventfd) | Simon Rettberg | 2014-12-31 | 1 | -26/+14 | |
| | ||||||
* | [SERVER] Add setting to enable/disable background replication, add comments ↵ | Simon Rettberg | 2014-12-29 | 1 | -4/+12 | |
| | | | | to config and code | |||||
* | [SERVER] Improve replication and reconnecting behaviour | Simon Rettberg | 2014-12-22 | 1 | -27/+29 | |
| | ||||||
* | [SERVER] Configurable client timeout, adaptive replication speed (to be ↵ | Simon Rettberg | 2014-12-22 | 1 | -15/+22 | |
| | | | | tested against varying bw/latency), retry sendfile call if ret <= len | |||||
* | Improve uplink handling, add code to debug thread creation/destruction, ↵ | Simon Rettberg | 2014-06-16 | 1 | -17/+18 | |
| | | | | change stupid convention of freeDiskSpace returning 0 on error, which is ambiguous to the disk simply being full... | |||||
* | [SERVER] Thread and uplink handling | Simon Rettberg | 2014-02-13 | 1 | -0/+1 | |
| | ||||||
* | [SERVER] Remove assertion that doesn't really check for an illegal state | Simon Rettberg | 2014-01-13 | 1 | -1/+0 | |
| | ||||||
* | [SERVER] Once again rework locking in uplink and freeing of resources to ↵ | Simon Rettberg | 2013-11-15 | 1 | -17/+36 | |
| | | | | fight messups when the uplink is shut down | |||||
* | [SERVER] Automatic replication of images that are not complete on proxy. ↵ | Simon Rettberg | 2013-11-13 | 1 | -2/+54 | |
| | | | | Speed probably needs tweaking for different link speeds etc. | |||||
* | [SERVER] Increase RTT check delay for uplinks that failed too many times to ↵ | Simon Rettberg | 2013-11-13 | 1 | -9/+11 | |
| | | | | save network bandwidth | |||||
* | [SERVER] Refactoring, more debug output, try to check for cyclic proxying | Simon Rettberg | 2013-10-22 | 1 | -0/+9 | |
| | ||||||
* | [SERVER] Fix unlock-without-lock in uplink | Simon Rettberg | 2013-10-01 | 1 | -1/+1 | |
| | ||||||
* | [SERVER] Block signals on network threads | Simon Rettberg | 2013-09-17 | 1 | -0/+1 | |
| | ||||||
* | [SERVER] Properly decrease uplink.queueLen when removing a client | Simon Rettberg | 2013-09-17 | 1 | -4/+2 | |
| | ||||||
* | [SERVER] More debugging, more safety checks, disable alt servers that fail ↵ | Simon Rettberg | 2013-09-16 | 1 | -6/+12 | |
| | | | | too often | |||||
* | [SERVER] Save CRC-32 to disk if successfully retreived from uplink server | Simon Rettberg | 2013-08-28 | 1 | -1/+11 | |
| | ||||||
* | [SERVER] Remove stupid 1MiB request expansion, this clearly needs to be done ↵ | Simon Rettberg | 2013-08-28 | 1 | -3/+5 | |
| | | | | differently :) | |||||
* | [SERVER] Fix *printf format strings, remove falsely detected errors | Simon Rettberg | 2013-08-28 | 1 | -3/+5 | |
| | ||||||
* | [SERVER] Copy CRC-32 list from uplink server if available | Simon Rettberg | 2013-08-28 | 1 | -16/+46 | |
| | | | | | 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 proxying | Simon Rettberg | 2013-08-26 | 1 | -34/+42 | |
| | ||||||
* | [SERVER] (Hopefully) fix starving uplink requests | Simon Rettberg | 2013-08-15 | 1 | -5/+15 | |
| | ||||||
* | [SERVER] Name uplink thread, remove most integrity check debug messages | Simon Rettberg | 2013-08-13 | 1 | -3/+5 | |
| | ||||||
* | Test your coke, dork! | Simon Rettberg | 2013-08-13 | 1 | -2/+2 | |
| | ||||||
* | [SERVER] Fix race condition in uplink request aggregation, other small ↵ | Simon Rettberg | 2013-08-13 | 1 | -10/+13 | |
| | | | | improvements and debugging features | |||||
* | [SERVER] Improve proxy mode, implement integrity check in proxy mode | Simon Rettberg | 2013-08-12 | 1 | -97/+165 | |
| | ||||||
* | [SERVER] Fix use-after-free, improve cleanup | Simon Rettberg | 2013-08-02 | 1 | -6/+3 | |
| | ||||||
* | [SERVER] Some sanity here and there, minor fixes, trying to track down proxy ↵ | Simon Rettberg | 2013-08-02 | 1 | -2/+13 | |
| | | | | corruption | |||||
* | [SERVER] several improvements | Simon Rettberg | 2013-08-02 | 1 | -5/+42 | |
| | | | | | | 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 | |||||
* | fix0rs | Simon Rettberg | 2013-08-02 | 1 | -1/+1 | |
| | ||||||
* | [SERVER] Uplink handing complete (untested, as alt servers can't be defined ↵ | Simon Rettberg | 2013-07-31 | 1 | -71/+29 | |
| | | | | yet, so prepare for lots of fixes ;)) | |||||
* | [SERVER] Still working on the uplink... Almost there | sr | 2013-07-26 | 1 | -50/+140 | |
| | ||||||
* | Work in progress: uplink | sr | 2013-07-25 | 1 | -10/+34 | |
| | ||||||
* | ...Working on proxy mode... | sr | 2013-07-25 | 1 | -5/+236 | |
| | ||||||
* | Replace all pthread_spin_* calls with spin_*, so that all locking can be ↵ | sr | 2013-07-17 | 1 | -2/+3 | |
| | | | | | | tracked and debugged Fix compilation of kernel module | |||||
* | Fix bugs from rewrite so it actually works | sr | 2013-07-16 | 1 | -1/+1 | |
| | ||||||
* | "It's compiling!" | sr | 2013-07-15 | 1 | -6/+12 | |
| | ||||||
* | Rewriiiiiiiiite | sr | 2013-07-15 | 1 | -0/+71 | |