summaryrefslogtreecommitdiffstats
path: root/src/server/net.c
Commit message (Collapse)AuthorAgeFilesLines
* [SERVER] Add image ID for easier handling in RPC, export RID via RPC, make ↵Simon Rettberg2015-05-081-1/+1
| | | | names of the byte count fields in RPC consistent
* [Server] Added statistics of images and uptime to json.Stephan Schwaer2015-05-051-10/+3Star
|
* Removed dnbd3_printClients, added clients to statistics json in rpc.Stephan Schwaer2015-05-041-3/+17
|
* [SERVER] PoC RPC interfaceschwaers2015-04-301-2/+6
|
* [SERVER] Added counters for received and sent bytes.Stephan Schwaer2015-04-271-0/+12
|
* [SERVER] printf -> logadd, make USR2 trigger a log cycle, remove old fake ↵Simon Rettberg2015-02-231-3/+0Star
| | | | delay feature
* [SERVER] Overhauled loggingSimon Rettberg2015-02-221-21/+21
| | | | | | - 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 volatileSimon Rettberg2015-02-221-1/+1
| | | | Some minor debugging code, mostly commented out
* [SERVER] Fix bug where checking if a request is cached would yield a false ↵Simon Rettberg2015-02-191-6/+7
| | | | negative
* [SERVER] Use shared file handle for readingSimon Rettberg2015-01-301-24/+27
|
* [SERVER] Crank up warning levels of gcc and fix them all (mostly sign ↵Simon Rettberg2015-01-141-1/+1
| | | | | | | 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] Set client connection timeout in client threadSimon Rettberg2015-01-071-0/+2
|
* [SERVER] Get rid of epoll in alservers.c, make valgrind+gdb happy by ↵Simon Rettberg2015-01-061-1/+2
| | | | handling signals even though we block them
* [SERVER] Big code cleanup, refactoring, minor bugfixingSimon Rettberg2015-01-061-4/+4
|
* [SERVER] Use a thread pool for client connectionsSimon Rettberg2015-01-051-7/+2Star
|
* [SERVER] Dead code removal, minor performance tweaks, refactoring, etc.Simon Rettberg2015-01-021-20/+4Star
|
* [SERVER] Use stdbool.h for booleans; minor refactoring of variable and ↵Simon Rettberg2014-12-311-27/+27
| | | | function names
* [SERVER] Minor tweaks and improvementsSimon Rettberg2014-12-311-1/+1
|
* [SERVER] Fix new sendfile handling, wake up uplink thread if server should ↵Simon Rettberg2014-12-221-1/+2
| | | | be changed
* [SERVER] Improve replication and reconnecting behaviourSimon Rettberg2014-12-221-1/+2
|
* [SERVER] Configurable client timeout, adaptive replication speed (to be ↵Simon Rettberg2014-12-221-5/+9
| | | | tested against varying bw/latency), retry sendfile call if ret <= len
* [SERVER] Thread and uplink handlingSimon Rettberg2014-02-131-0/+1
|
* [SERVER] Minor fixes, add quick and dirty clang support to CMakeLists.txtSimon Rettberg2014-01-091-1/+1
| | | | | | Use 'CC=/usr/local/bin/clang cmake -D_CMAKE_TOOLCHAIN_PREFIX=llvm- ..' to compile using clang. Requires LLVM 3.1 since AddressSanitizer is used for clang debug builds.
* [SERVER] Minor tweaks here and thereSimon Rettberg2013-11-101-1/+1
|
* [SERVER] Block signals on network threadsSimon Rettberg2013-09-171-3/+8
|
* [SERVER] Copy CRC-32 list from uplink server if availableSimon Rettberg2013-08-281-2/+5
| | | | | 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-3/+2Star
|
* [SERVER] Fix race condition in uplink request aggregation, other small ↵Simon Rettberg2013-08-131-1/+3
| | | | improvements and debugging features
* [SERVER] Improve proxy mode, implement integrity check in proxy modeSimon Rettberg2013-08-121-2/+10
|
* [SERVER] Fix use-after-free, improve cleanupSimon Rettberg2013-08-021-1/+1
|
* [SERVER] Some sanity here and there, minor fixes, trying to track down proxy ↵Simon Rettberg2013-08-021-1/+2
| | | | corruption
* [SERVER] several improvementsSimon Rettberg2013-08-021-2/+9
| | | | | | 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
* [SERVER] Uplink handing complete (untested, as alt servers can't be defined ↵Simon Rettberg2013-07-311-1/+2
| | | | yet, so prepare for lots of fixes ;))
* [SERVER] Still working on the uplink... Almost theresr2013-07-261-99/+67Star
|
* ...Working on proxy mode...sr2013-07-251-24/+34
|
* Implement CRC-32 list generation; fix quick CRC-32 check on image loadingsr2013-07-231-11/+11
|
* Remove all glib dependencies from serversr2013-07-171-0/+3
|
* Replace all pthread_spin_* calls with spin_*, so that all locking can be ↵sr2013-07-171-2/+3
| | | | | | tracked and debugged Fix compilation of kernel module
* Add debug-lock functions that will helpt to spot deadlocks etc. while developingsr2013-07-161-3/+5
|
* Fix more bugs, remove debug messagessr2013-07-161-0/+4
|
* "It's compiling!"sr2013-07-151-9/+6Star
|
* Rewriiiiiiiiitesr2013-07-151-224/+177Star
|
* Rewriting.....sr2013-07-131-42/+20Star
|
* Rewrite in progres....sr2013-07-091-1/+0Star
|
* Rewriting....sr2013-07-081-1/+1
|
* [SERVER] Add IPv6 support (clients and RPC connections)sr2013-01-151-41/+1Star
|
* ...sr2012-12-201-2/+3
|
* [SERVER] Remove unix socket support for RPC interfacesr2012-11-071-3/+3
| | | | [SERVER] Restructure RPC functions, add helpers
* [SERVER] Automatically connect a dnbd3 device for a relayed imagesr2012-09-091-4/+13
| | | | | | [SERVER] Automatically disconnect dnbd3 device if local cache copy is complete [SERVER] Pre-allocate disk space for cache file [KERNEL] Refuse connection if server reports disk size < 4096 bytes
* ...sr2012-09-051-1/+1
|