mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-28 22:53:28 +00:00
increase buffer size 1024->4096
This commit is contained in:
@@ -70,7 +70,7 @@ pub const URL = struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn resolve(self: *const URL, arena: Allocator, url: []const u8) !URL {
|
pub fn resolve(self: *const URL, arena: Allocator, url: []const u8) !URL {
|
||||||
var buf = try arena.alloc(u8, 1024);
|
var buf = try arena.alloc(u8, 4096);
|
||||||
const new_uri = try self.uri.resolve_inplace(url, &buf);
|
const new_uri = try self.uri.resolve_inplace(url, &buf);
|
||||||
return fromURI(arena, &new_uri);
|
return fromURI(arena, &new_uri);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user