Removed comments
This commit is contained in:
@@ -242,11 +242,8 @@ func (server *Server) sendPTE(conn *net.UDPConn, addr *net.UDPAddr, pck *common.
|
||||
file := filepath.Join(server.parentFilePath, path)
|
||||
file = filepath.Clean(file)
|
||||
|
||||
// fmt.Sprintf("%v\\*", server.parentFilePath)
|
||||
matched, err := filepath.Match(filepath.Join(server.parentFilePath, "*"), file)
|
||||
|
||||
fmt.Println(filepath.Join(server.parentFilePath, "*"))
|
||||
|
||||
if err != nil || !matched {
|
||||
log.WithFields(log.Fields{
|
||||
"ParentFilePath": server.parentFilePath,
|
||||
@@ -383,8 +380,6 @@ func (server *Server) handleConnection(conn net.Conn) {
|
||||
return
|
||||
}
|
||||
|
||||
// fmt.Println(buf)
|
||||
|
||||
rsaPck := common.RsaPacketFromBytes(buf[0:r])
|
||||
key, err := rsaPck.ExtractKey(server.rsa)
|
||||
if err != nil && !errors.Is(err, io.EOF) {
|
||||
|
||||
Reference in New Issue
Block a user