Skip to content

Lightpanda: the headless browser designed for AI and automation

update comment about arena in SyncContext

Muki Kiboigoa23da281f4e8
diff --git a/src/network/HttpClient.zig b/src/network/HttpClient.zig
index 7568bd02c..5f7a22f5b 100644
--- a/src/network/HttpClient.zig
+++ b/src/network/HttpClient.zig
@@ -1445,8 +1445,8 @@ const SyncContext = struct {
body: std.ArrayList(u8),
headers: std.ArrayList(http.Header) = .empty,
- // Acquired on the first byte we have to buffer, so a bodyless response
- // never takes one. Ownership moves to the SyncResponse.
+ // Acquired on the first byte we have to buffer.
+ // Ownership moves to the SyncResponse.
arena: ?*lp.Arena = null,
fn headerCallback(transfer: *Transfer) anyerror!Transfer.HeaderResult {