Various fixes
- removed some debugging information/prints - expanded the BIND for 3502 (the DAPLIE WSS listener)
This commit is contained in:
parent
43bf242ffd
commit
b179ecef0c
|
@ -226,8 +226,6 @@ func (c *Connection) Writer() {
|
|||
if err != nil {
|
||||
return
|
||||
}
|
||||
loginfo.Println(c)
|
||||
loginfo.Println(w)
|
||||
|
||||
c.Update()
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
package external
|
||||
|
||||
import (
|
||||
"encoding/hex"
|
||||
"net"
|
||||
"net/http"
|
||||
"strconv"
|
||||
|
@ -83,8 +82,8 @@ func handleConnection(conn net.Conn, connectionTable *connection.Table) {
|
|||
loginfo.Println("state ", state, " ", state.Protocol)
|
||||
loginfo.Println("conn ", conn)
|
||||
loginfo.Println("byte read", cnt)
|
||||
loginfo.Println("buffer")
|
||||
loginfo.Println(hex.Dump(buffer[0:cnt]))
|
||||
//loginfo.Println("buffer")
|
||||
//loginfo.Println(hex.Dump(buffer[0:cnt]))
|
||||
|
||||
if state.Protocol == 0 {
|
||||
//attempt to discover protocol
|
||||
|
|
|
@ -27,7 +27,7 @@ var (
|
|||
)
|
||||
|
||||
func init() {
|
||||
flag.StringVar(&argServerBinding, "server-port", "127.0.0.1:3502", "server Bind listener")
|
||||
flag.StringVar(&argServerBinding, "server-port", ":3502", "server Bind listener")
|
||||
flag.StringVar(&argServerAdminBinding, "admin-server-port", "127.0.0.2:8000", "admin server Bind listener")
|
||||
flag.StringVar(&argServerExternalBinding, "external-server-port", "127.0.0.1:8080", "external server Bind listener")
|
||||
|
||||
|
|
Loading…
Reference in New Issue