From 3cb0810b82988f10cf1cb1c5917891d609ac2266 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Tue, 31 Dec 2024 16:40:45 +0000 Subject: Delete weird debug prints --- main.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'main.go') diff --git a/main.go b/main.go index 210c4f7..cdd6b11 100644 --- a/main.go +++ b/main.go @@ -155,19 +155,15 @@ func handle_connection(reader *bufio.Reader, writer *bufio.Writer) error { data_part := make([]byte, len(tmp)) copy(data_part, tmp) - clog.Debug("e", "e", string(data_part)) next_four, err := reader.Peek(4) if err != nil { return err } if bytes.Equal(next_four, []byte{'\n', '.', '\r', '\n'}) { current_data = slices.Concat(current_data, data_part[:len(data_part)-1]) - clog.Debug("eee", string(next_four)) // shut up go break } - clog.Debug("pre concat", "current_data", string(current_data), "data_part", string(data_part)) current_data = slices.Concat(current_data, data_part) - clog.Debug("post concat", "current_data", string(current_data), "data_part", string(data_part)) } _, err := reader.Discard(4) if err != nil { -- cgit v1.2.3