We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5f3e23f + cbdea3d commit 84edb26Copy full SHA for 84edb26
internal/core/plugin_manager/serverless_runtime/io.go
@@ -91,6 +91,7 @@ func (r *AWSPluginRuntime) Write(sessionId string, action access_types.PluginAcc
91
92
// write to data stream
93
scanner := bufio.NewScanner(response.Body)
94
+ defer response.Body.Close()
95
96
// TODO: set a reasonable buffer size or use a reader, this is a temporary solution
97
scanner.Buffer(make([]byte, 1024), 5*1024*1024)
0 commit comments