feat(rmi): support receive rmi connection (#5)

This commit is contained in:
Li4n0
2021-04-23 17:58:46 +08:00
committed by GitHub
parent 72c6150517
commit 5e24f9530d
25 changed files with 1101 additions and 20 deletions
+1 -1
View File
@@ -157,7 +157,7 @@ func (s *Server) Receive(c *gin.Context) {
c.String(code, compileTpl(c, _rule.ResponseBody))
return
}
log.Trace("HTTP record(id:%d) has been created", r.ID)
log.Info("HTTP record(id:%d,rule:%s,remote_ip:%s) has been created", r.ID, _rule.Name, ip)
//only send to client when this connection recorded first time.
if _rule.PushToClient {