diff options
author | Christian Pointner <equinox@spreadspace.org> | 2010-11-30 01:05:03 +0000 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2010-11-30 01:05:03 +0000 |
commit | e2d68ee657d35f062d1794de5d5ce852d478d746 (patch) | |
tree | cbb8a243a8a311b73ee68caf2a365ac00da3aa49 /src/tcpproxy.c | |
parent | only recv if buffer is not full (diff) |
buffer size can now be configured
git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@18 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
Diffstat (limited to 'src/tcpproxy.c')
-rw-r--r-- | src/tcpproxy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tcpproxy.c b/src/tcpproxy.c index 2abf6e6..d708770 100644 --- a/src/tcpproxy.c +++ b/src/tcpproxy.c @@ -49,7 +49,7 @@ int main_loop(options_t* opt, listeners_t* listeners) return -1; clients_t clients; - int return_value = clients_init(&clients); + int return_value = clients_init(&clients, opt->buffer_size_); while(!return_value) { fd_set readfds, writefds; |