From 8b35cb5c87b0836beb2707cf0e6868b266d2d6bd Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Wed, 3 Feb 2021 21:41:45 +0100 Subject: mod_c2s: Reflect stream 'from' attribute back if set (fix #1625) Clients should *not* be setting this before TLS anyways. --- plugins/mod_c2s.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/mod_c2s.lua b/plugins/mod_c2s.lua index ef4bd4b3..a1820029 100644 --- a/plugins/mod_c2s.lua +++ b/plugins/mod_c2s.lua @@ -90,7 +90,7 @@ function stream_callbacks._streamopened(session, attr) return; end - session:open_stream(); + session:open_stream(host, attr.from); (session.log or log)("debug", "Sent reply to client"); session.notopen = nil; -- cgit v1.2.3