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 {
|
if err != nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
loginfo.Println(c)
|
|
||||||
loginfo.Println(w)
|
|
||||||
|
|
||||||
c.Update()
|
c.Update()
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
package external
|
package external
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/hex"
|
|
||||||
"net"
|
"net"
|
||||||
"net/http"
|
"net/http"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
@ -83,8 +82,8 @@ func handleConnection(conn net.Conn, connectionTable *connection.Table) {
|
||||||
loginfo.Println("state ", state, " ", state.Protocol)
|
loginfo.Println("state ", state, " ", state.Protocol)
|
||||||
loginfo.Println("conn ", conn)
|
loginfo.Println("conn ", conn)
|
||||||
loginfo.Println("byte read", cnt)
|
loginfo.Println("byte read", cnt)
|
||||||
loginfo.Println("buffer")
|
//loginfo.Println("buffer")
|
||||||
loginfo.Println(hex.Dump(buffer[0:cnt]))
|
//loginfo.Println(hex.Dump(buffer[0:cnt]))
|
||||||
|
|
||||||
if state.Protocol == 0 {
|
if state.Protocol == 0 {
|
||||||
//attempt to discover protocol
|
//attempt to discover protocol
|
||||||
|
|
|
@ -27,7 +27,7 @@ var (
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
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(&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")
|
flag.StringVar(&argServerExternalBinding, "external-server-port", "127.0.0.1:8080", "external server Bind listener")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue