use transfer arena to sign webbotauth request

This commit is contained in:
Muki Kiboigo
2026-03-04 05:48:01 -08:00
parent 5107395917
commit 6161c0d701

View File

@@ -724,7 +724,7 @@ fn makeRequest(self: *Client, conn: *Net.Connection, transfer: *Transfer) anyerr
// If we have WebBotAuth, sign our request. // If we have WebBotAuth, sign our request.
if (self.web_bot_auth.*) |wba| { if (self.web_bot_auth.*) |wba| {
const authority = URL.getHost(req.url); const authority = URL.getHost(req.url);
try wba.signRequest(self.allocator, &header_list, authority); try wba.signRequest(transfer.arena.allocator(), &header_list, authority);
} }
// Add cookies. // Add cookies.