summaryrefslogtreecommitdiffstats
path: root/src/server/uplink.c
Commit message (Expand)AuthorAgeFilesLines
* [SERVER] Fix swapped assignmentSimon Rettberg2019-08-271-1/+1
* [SERVER] Use reference counting for uplinkSimon Rettberg2019-08-271-88/+126
* [SERVER] Fix warnings, simplify lockingSimon Rettberg2019-08-261-11/+12
* [SERVER] Get rid of alt-servers thread, per-uplink rtt historySimon Rettberg2019-08-221-56/+61
* [SERVER] Add struct representing active connection to uplink serverSimon Rettberg2019-08-181-40/+38Star
* [SERVER] uplink: More consistent type/variable namingSimon Rettberg2019-08-181-277/+277
* [SERVER] Better lock debugging: Always check lock orderSimon Rettberg2019-08-071-3/+3
* [SERVER] Lock-free queue for altservers check threadSimon Rettberg2019-08-071-4/+4
* [SERVER] uplink: Improve attaching to existing requestsSimon Rettberg2019-08-061-23/+74
* [SERVER] Fix: Client thread could destroy sendMutex while in useSimon Rettberg2019-08-061-0/+3
* [SERVER] Allow uplink shutdown if bgrMinClients > image->usersSimon Rettberg2019-08-051-1/+2
* [SERVER] Turn all spinlocks into mutexesSimon Rettberg2019-07-261-94/+94
* [SERVER] uplink: Relay request in client's thread if possibleSimon Rettberg2019-07-231-3/+56
* [SERVER] Don't shutdown uplink if background replication is FULLSimon Rettberg2019-02-131-1/+1
* [SERVER] uplink: Dedicated function for handling link failureSimon Rettberg2019-02-081-31/+50
* [SERVER] Don't keep an uplink connection established foreverSimon Rettberg2019-01-311-38/+70
* [SERVER] uplink: Check for _maxPayload when getting client requestSimon Rettberg2019-01-311-0/+4
* [SERVER] Fix last block replicating indefinitely in hasblock modeSimon Rettberg2018-08-141-5/+7
* [SERVER] Use atomic vars for uplink byte countersSimon Rettberg2018-08-131-26/+4Star
* [SERVER] Use atomic var for (total)bytesSent countersSimon Rettberg2018-08-081-2/+0Star
* [SERVER] Add missing file mode to open() callSimon Rettberg2018-07-261-2/+2
* [SERVER] Fix use of wrong constant; increase queue len for hash checkerSimon Rettberg2018-07-101-1/+1
* [SERVER] Reduce spam some moreSimon Rettberg2018-07-091-1/+1
* [SERVER] Introduce backgroundReplication=hashblockSimon Rettberg2018-07-091-33/+121
* [SERVER] Don't keep bg replication blocks in fs cacheSimon Rettberg2018-07-051-1/+5
* [SERVER] Always use fsync instead of fdatasyncSimon Rettberg2018-07-051-8/+2Star
* [SERVER] Refactor uplink/cache handling, improve crc checkingSimon Rettberg2018-07-041-35/+182
* [SERVER] Use likely/unlikely in uplink disk writing loopSimon Rettberg2018-06-251-4/+4
* [SERVER] Try to re-open cacheFd if writing failsSimon Rettberg2018-06-251-6/+12
* [SERVER] Add bgrMinClients: Thresold to control when BGR startsSimon Rettberg2018-04-121-3/+6
* [SERVER] More error handling and logging when caching received data to diskSimon Rettberg2018-04-101-4/+13
* [SERVER] Experimental support for sparse files in proxy modeSimon Rettberg2018-03-151-1/+10
* [SERVER] altservers: Short timeout during RTT measurement, round request rangeSimon Rettberg2017-11-081-4/+7
* [SERVER] Add multiple config options for limiting stuffSimon Rettberg2017-11-081-2/+2
* [SERVER] Use multiConnect() to find uplink for replicationSimon Rettberg2017-11-071-1/+1
* [SERVER] uplink: Fix updating of global byte counter, fix incremental updatesSimon Rettberg2017-10-251-2/+7
* [SERVER] Improve handling of byte stats countersSimon Rettberg2017-10-251-4/+13
* [SERVER] Get rid of zlib dependencySimon Rettberg2017-10-241-3/+3
* [SERVER] Fix types or add explicit casts everywhere we might have type conver...Simon Rettberg2017-10-241-5/+5
* [SERVER] Use monotonic clock for measuring timeSimon Rettberg2017-10-191-16/+20
* [SERVER] Try to connect to different server if proxy cycle is detectedSimon Rettberg2017-10-171-2/+15
* [*] Support hop-counting in request header, protocol version 3Simon Rettberg2017-10-171-13/+34
* [SERVER] Make crclist handling endian-safeSimon Rettberg2017-04-271-0/+1
* [SERVER] Fix formattingSimon Rettberg2016-03-221-3/+3
* cleanup commitsSebastian2016-02-111-12/+2Star
* [SHARED] signal.h -> fdsignal.hSimon Rettberg2016-02-101-1/+1
* First steps in make signals more abstract from the underlying mechanism; repl...Simon Rettberg2016-02-051-73/+48Star
* [SERVER] BREAKING: Get rid of pseudo case-insensitivityv2.1Simon Rettberg2016-02-011-9/+9
* [SERVER] Fix a lot of (mostly harmless) data racesSimon Rettberg2016-01-111-10/+28
* [SERVER] Performance: Optimized some functions (gprof)Simon Rettberg2015-12-171-11/+17