mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-03-22 04:34:44 +00:00
use transfer arena to sign webbotauth request
This commit is contained in:
@@ -706,7 +706,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.network.web_bot_auth) |*wba| {
|
if (self.network.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.
|
||||||
|
|||||||
Reference in New Issue
Block a user