Skip to content

Commit aae2f1a

Browse files
committed
set request Close
1 parent f3b2a31 commit aae2f1a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/backends/otlp/internal/data/request.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ func createProtobufRequest(ctx context.Context, endpoint string, buf []byte, opt
2323
return nil, err
2424
}
2525

26+
req.Close = true
2627
req.Header.Set("Content-Type", RequestContentTypeProtobuf)
2728
for _, opt := range option {
2829
opt(req)

0 commit comments

Comments
 (0)