ensure robots params have arena and request id

This commit is contained in:
Muki Kiboigo committed 2026-04-28 07:01:41 -07:00
1 parent 87eec578aa
commit 175c2cc288
1 file changed
+3
+3
View File
@@ -111,6 +111,9 @@ fn fetchRobotsThenRequest(
try self.next.request(client, .{
.ctx = robots_ctx,
.params = .{
// We have to do this ourselves because we are not going through the top level `request`.
.arena = std.heap.ArenaAllocator.init(client.allocator),
.request_id = client.incrReqId(),
.url = robots_url,
.method = .GET,
.headers = headers,