From 439e39a6884b6dbc3cc978a83bc0efd80ce17fc7 Mon Sep 17 00:00:00 2001 From: fangdingjun Date: Fri, 13 Jul 2018 19:45:40 +0800 Subject: [PATCH] remove log --- stream.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stream.go b/stream.go index bbfba34..f6d4e97 100644 --- a/stream.go +++ b/stream.go @@ -7,7 +7,6 @@ import "C" import ( "fmt" "io" - "log" "net/http" "strings" "sync" @@ -198,7 +197,7 @@ func (s *ServerStream) Close() error { s.conn.lock.Unlock() if _, ok := s.conn.streams[s.streamID]; ok { - log.Printf("send rst stream %d", s.streamID) + //log.Printf("send rst stream %d", s.streamID) C.nghttp2_submit_rst_stream(s.conn.session, 0, C.int(s.streamID), 0) delete(s.conn.streams, s.streamID) }