From f1eae7ba0f7c35240b04291892fb14bf16da8deb Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Wed, 26 Aug 2009 22:04:51 +0200 Subject: more reasonable max_conns{,_host} --- README | 4 ++-- config.h | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README b/README index d37201e..6832ef9 100644 --- a/README +++ b/README @@ -204,8 +204,8 @@ Besides the builtin variables you can also define your own ones and use them in - http_debug: http debug mode (value 0-3) - shell_cmd: alias which will be expanded to use shell commands (eg sh -c) - proxy_url: http traffic socks proxy (eg: http://:) - - max_conns - - max_conns_host + - max_conns: max simultaneous connections (default: 100) + - max_conns_host: max simultaneous connections per hostname (default: 6) - useragent: to be expanded strin - zoom_level - font_size diff --git a/config.h b/config.h index 5c9835f..c43e8ea 100644 --- a/config.h +++ b/config.h @@ -5,5 +5,7 @@ const struct { { "set status_format = \\@MODE \\@[\\@keycmd]\\@ (\\@LOAD_PROGRESS%) \\@[\\@TITLE]\\@ - Uzbl browser"}, { "set title_format_long = \\@keycmd \\@MODE \\@TITLE - Uzbl browser <\\@NAME> > \\@SELECTED_URI"}, { "set title_format_short = \\@TITLE - Uzbl browser <\\@NAME>"}, +{ "set max_conns = 100"}, /* WebkitGTK default: 10 */ +{ "set max_conns_host = 6"}, /* WebkitGTK default: 2 */ { NULL } }; -- cgit v1.2.3