summaryrefslogtreecommitdiff
path: root/src/socket-proxy
AgeCommit message (Collapse)Author
2013-11-25socket-proxyd: Add --listener option for listener/destination pairs.David Strauss
2013-11-22event: rename sd_event_get() to sd_event_source_get_event()Lennart Poettering
2013-11-12bus: introduce concept of a "default" event loop per-thread and make use of ↵Lennart Poettering
it everywhere Try to emphasize a bit that there should be a mapping between event loops and threads, hence introduce a logic that there's one "default" event loop for each thread, that can be queried via "sd_event_default()".
2013-11-07socket-proxy: actually properly keep track of connectionsLennart Poettering
2013-11-07socket-proxyd: no need to redefine sockaddr unionLennart Poettering
2013-11-07event: make sure we keep a reference to all events we dispatch while we do so.Lennart Poettering
2013-11-06socket-proxyd: rework to support multiple sockets and splice()-based ↵Lennart Poettering
zero-copy network IO This also drops --ignore-env, which can't really work anymore if we allow multiple fds. Also adds support for pretty printing of peer identities for debug purposes, and abstract namespace UNIX sockets. Also ensures that we never take more connections than a certain limit.
2013-11-06socket-proxy: clean-up indentingLennart Poettering
2013-11-06clients: unify how we invoke getopt_long()Lennart Poettering
Among other things this makes sure we always expose a --version command and show it in the help texts.
2013-10-31socket-proxyd: Actually, some of those sizes are unsigned.David Strauss
2013-10-31fix compiler warningsRonny Chevalier
multiple warnings like src/socket-proxy/socket-proxyd.c: In function ‘transfer_data_cb’: src/socket-proxy/socket-proxyd.c:237:25: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 6 has type ‘size_t’ [-Wformat=] log_debug("Buffer now has %ld bytes full.", c->buffer_filled_len);
2013-10-21socket-proxyd: Fix-up from previous change to avoid looping on errors.David Strauss
2013-10-21socket-proxyd: Use ONESHOT to behave properly with multiple accept() processes.David Strauss
2013-10-19socket-proxyd: Remove datagram research TODO. This proxy will not work with ↵David Strauss
them.
2013-10-19socket-proxyd: Comment and log text cleanup.David Strauss
* Standardize on "nonblocking" spelling, per Linux man pages. * Clarify that the nonblocking sockets are never in a "blocking" or "unblocked" state, just a "would block" or "ready" state.
2013-10-20socket-proxyd: initialize variable used in error code pathKay Sievers
2013-10-18socket-proxyd: rename from saproxyLennart Poettering
The thing is a daemon, hence needs a "d" prefix. Also, we tend to not abbreviate names of background components unnecessarily, since they are not primary commands people type. Then, the fact that this thing does socket actviation is mostly in implementationd detail for the proxy. Also, do some minor indenting clean-ups and other code updates.