about summary refs log tree commit diff stats
path: root/adapter/protocol
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-09-28 21:48:22 +0200
committerbptato <nincsnevem662@gmail.com>2024-09-28 21:48:42 +0200
commit0035e58925ef005cca0ea0017ce3d54dfca1e72a (patch)
treed8250a2643810c3294c0d7431b5bae537685a786 /adapter/protocol
parent0e7ee63c639b0b3b9d1e4181b94ff33253bef6ca (diff)
downloadchawan-0035e58925ef005cca0ea0017ce3d54dfca1e72a.tar.gz
lcgi: fix broken error message
Diffstat (limited to 'adapter/protocol')
-rw-r--r--adapter/protocol/lcgi.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/adapter/protocol/lcgi.nim b/adapter/protocol/lcgi.nim
index 9c0bdc16..03926d4a 100644
--- a/adapter/protocol/lcgi.nim
+++ b/adapter/protocol/lcgi.nim
@@ -117,7 +117,7 @@ proc connectProxySocket(os: PosixStream; host, port, proxy: string):
   let scheme = proxy.until(':')
   # We always use socks5h, actually.
   if scheme != "socks5" and scheme != "socks5h":
-    os.die("Only socks5 proxy is supported")
+    os.die("InternalError only socks5 proxy is supported")
   var i = scheme.len + 1
   while i < proxy.len and proxy[i] == '/':
     inc i