adamfisk / LittleProxy

High performance HTTP proxy originally written by your friends at Lantern and now maintained by a stellar group of volunteer open source programmers.

Home Page:https://www.getlantern.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

withPort() after clone() doesn't work

oxtoacart opened this issue · comments

When using HttpProxyServer.clone() to spool up a new server, using withPort() doesn't work - it's ignored and the system just uses one port higher.

As a workaround, withAddress() does work.

This same problem seems to apply to withSslEngineSource(). Need to do a thorough audit of the clone() path.