Removed comments

This commit is contained in:
Pablu23
2023-12-11 16:28:52 +01:00
parent 04695b9df8
commit 4d6571800f
2 changed files with 0 additions and 9 deletions

View File

@@ -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) {