feat: мультиплексирование звонков (#21)
This commit is contained in:
17 files changed
+1178
-48
No files matched your search
+1
-1
@@ -99,7 +99,7 @@ func main() {
|
||||
var listener net.Listener
|
||||
if cfg.Obf.Enabled() {
|
||||
logger.Infof("OBF profile=%s: listener only accepts clients with matching -obf-profile and -obf-key", cfg.Obf.Profile)
|
||||
obfListener, oerr := wire.Listen(string(cfg.Obf.Profile), addr, cfg.Obf.Key)
|
||||
obfListener, oerr := wire.Listen(string(cfg.Obf.Profile), addr, cfg.Obf.Key, cfg.Obf.Timing)
|
||||
if oerr != nil {
|
||||
logger.Errorf("obf listen: %v", oerr)
|
||||
os.Exit(1)
|
||||
|
||||
Reference in new issue
Block a user