about summary refs log tree commit diff stats
path: root/src/LYMain.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2019-09-19 00:27:19 +0000
committerThomas E. Dickey <dickey@invisible-island.net>2019-09-19 00:27:19 +0000
commita711874c2247d95021af38c184829d194f4a9ecc (patch)
tree2009be382da07415ed0ab5a6fc4d9f68b5b75a52 /src/LYMain.c
parente26373738c0e38440fb51bb61e615984a5a42637 (diff)
downloadlynx-snapshots-a711874c2247d95021af38c184829d194f4a9ecc.tar.gz
snapshot of project "lynx", label v2-9-0dev_4e
Diffstat (limited to 'src/LYMain.c')
-rw-r--r--src/LYMain.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/LYMain.c b/src/LYMain.c
index db53bbb5..38a9c4d3 100644
--- a/src/LYMain.c
+++ b/src/LYMain.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: LYMain.c,v 1.285 2019/01/25 00:06:42 tom Exp $
+ * $LynxId: LYMain.c,v 1.286 2019/09/18 22:20:44 Steffen.Nurpmeso Exp $
  */
 #include <HTUtils.h>
 #include <HTTP.h>
@@ -636,6 +636,8 @@ BOOLEAN debug_display_partial = FALSE;	/* Show with MessageSecs delay */
 int partial_threshold = -1;	/* # of lines to be d/l'ed until we repaint */
 #endif
 
+char *socks5_proxy = NULL;
+
 BOOLEAN LYNonRestartingSIGWINCH = FALSE;
 BOOLEAN LYReuseTempfiles = FALSE;
 BOOLEAN LYUseBuiltinSuffixes = TRUE;
@@ -3907,6 +3909,10 @@ saves session to that file on exit"
       "toggles display of transfer rate"
    ),
 #endif
+   PARSE_STR(
+      "socks5-proxy",	2|NEED_LYSTRING_ARG,	socks5_proxy,
+      "=URL\n(via which) SOCKS5 proxy to connect (unrelated to -nosocks!)"
+   ),
    PARSE_SET(
       "soft_dquotes",	4|TOGGLE_ARG,		soft_dquotes,
       "toggles emulation of the old Netscape and Mosaic\n\