diff options
author | Tomasz Torcz <tomek@pipebreaker.pl> | 2010-08-03 13:33:40 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-08-03 23:23:47 +0200 |
commit | cebf8b209237db381a504c50eeba76c4c28fb677 (patch) | |
tree | 9dcbfd743121a2327ecd3f1cb7af9b703ffa8652 /src/load-fragment.c | |
parent | 07424048b52f8b22b472bf0370a185c1eb443417 (diff) |
socket: Allow selection of TCP Congestion Avoidance algorithm to socket
Hi,
attached path extends socket configurables with another
knob - TCP Congestion Avoidance selection. Linux implements
handful of those, useful in various situations. For example,
TCP Low Priority may be used by FTP service to gracefully
yield bandwidth for more important TCP/IP streams.
Until recently TCP_CONGESTION was Linux-specific, recently
FreeBSD 8 and OpenSolaris gained compatible support.
Diffstat (limited to 'src/load-fragment.c')
-rw-r--r-- | src/load-fragment.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/load-fragment.c b/src/load-fragment.c index 98f16f9a23..f2f2d72837 100644 --- a/src/load-fragment.c +++ b/src/load-fragment.c @@ -1616,6 +1616,7 @@ static int load_from_path(Unit *u, const char *path) { { "Mark", config_parse_int, &u->socket.mark, "Socket" }, { "PipeSize", config_parse_size, &u->socket.pipe_size, "Socket" }, { "FreeBind", config_parse_bool, &u->socket.free_bind, "Socket" }, + { "TCPCongestion", config_parse_string, &u->socket.tcp_congestion, "Socket" }, EXEC_CONTEXT_CONFIG_ITEMS(u->socket.exec_context, "Socket"), { "What", config_parse_string, &u->mount.parameters_fragment.what, "Mount" }, |