This commit is contained in:
idk
2019-05-11 22:36:34 -04:00
parent 2dda6d1197
commit 4974744a66
2 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@ package i2phttpproxy
import (
"fmt"
"log"
"log"
"strconv"
"strings"
)
@ -356,7 +356,7 @@ func SetCloseIdle(b bool) func(*SAMHTTPProxy) error {
func SetCloseIdleTime(u uint) func(*SAMHTTPProxy) error {
return func(c *SAMHTTPProxy) error {
log.Println("TEST CLOSE", u, (u > 299999))
if u > 299999 {
if u > 299999 {
c.closeIdleTime = u
return nil
}

View File

@ -71,11 +71,11 @@ func (f *SAMHTTPProxy) print() []string {
}
func (f *SAMHTTPProxy) GetType() string {
return "httpclient"
return "httpclient"
}
func (f *SAMHTTPProxy) ID() string {
return f.tunName
return f.tunName
}
func (f *SAMHTTPProxy) Props() map[string]string {