Skip to content

Commit 2f77f3d

Browse files
committed
internal: mark body returned from HTTPCacheTransactionInsert as closable
1 parent 67aec9b commit 2f77f3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/abi/fastly/httpcache_guest.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ func HTTPCacheTransactionInsert(h *HTTPCacheHandle, resp *HTTPResponse, opts *HT
334334
return nil, err
335335
}
336336

337-
return &HTTPBody{h: body}, nil
337+
return &HTTPBody{h: body, closable: true}, nil
338338
}
339339

340340
// witx:

0 commit comments

Comments
 (0)