exchanges #20

Merged
JakeHillion merged 21 commits from exchanges into develop 2021-05-14 08:10:46 +01:00
2 changed files with 0 additions and 7 deletions
Showing only changes of commit fef01c18c7 - Show all commits

View File

@ -1,14 +1,12 @@
package flags
import (
"errors"
"fmt"
goflags "github.com/jessevdk/go-flags"
"os"
)
var PrintedHelpErr = goflags.ErrHelp
var NotEnoughArgs = errors.New("not enough arguments")
type Options struct {
Foreground bool `short:"f" long:"foreground" description:"Run in the foreground"`

View File

@ -38,11 +38,6 @@ func NewListener(ctx context.Context, p *proxy.Proxy, local string, v func() pro
return err
}
err = pconn.SetWriteBuffer(0)
if err != nil {
panic(err)
}
receivedConnections := make(map[ComparableUdpAddress]*Flow)
go func() {