good morning!!!!

Skip to content
Snippets Groups Projects
Commit 1b42fe01 authored by a's avatar a
Browse files

Reset buf on tls

parent 0295607f
No related branches found
No related tags found
No related merge requests found
......@@ -123,6 +123,7 @@ func (c *Client) Accept(ctx context.Context) error {
c.conn = tls.Server(c.conn, cfg)
c.r = bufio.NewReader(c.conn)
c.wr = c.conn
c.bufwr.Reset(c.wr)
err = startup.Read(c.r)
if err != nil {
return err
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment