Add redirection to all messages from client to client
This commit is contained in:
parent
b60ebc637f
commit
245e8986a6
|
@ -211,7 +211,14 @@ func handleClient(conn net.Conn) {
|
||||||
}
|
}
|
||||||
conn.Write(answ)
|
conn.Write(answ)
|
||||||
// REDIRECTED STUFF
|
// REDIRECTED STUFF
|
||||||
case com.ID_CLIENT_ASK_CLIENT_HANDSHAKE:
|
case com.ID_CLIENT_ASK_CLIENT_HANDSHAKE,
|
||||||
|
com.ID_CLIENT_APPROVE_CLIENT_HANDSHAKE,
|
||||||
|
com.ID_CLIENT_DECLINE_CLIENT_HANDSHAKE,
|
||||||
|
com.ID_CLIENT_SEND_CLIENT_ECDH_PUBKEY,
|
||||||
|
com.ID_CLIENT_SEND_CLIENT_CBES_SPECS,
|
||||||
|
com.ID_CLIENT_SEND_CLIENT_MKLG_FINGERPRINT,
|
||||||
|
com.ID_CLIENT_DECLINE_CLIENT_MKLG_FINGERPRINT,
|
||||||
|
com.ID_CLIENT_SEND_CLIENT_MESSAGE:
|
||||||
toConn, err := connCenter.GetConn(msg.ToID)
|
toConn, err := connCenter.GetConn(msg.ToID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf("ERROR: connCenter: GetConn: %v\n", err)
|
log.Printf("ERROR: connCenter: GetConn: %v\n", err)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user