mirror of
https://github.com/oven-sh/bun
synced 2026-02-17 22:32:06 +00:00
bump webkit (#15328)
Co-authored-by: dylan-conway <dylan-conway@users.noreply.github.com> Co-authored-by: Jarred Sumner <jarred@jarredsumner.com> Co-authored-by: Ben Grant <ben@bun.sh> Co-authored-by: Meghan Denny <meghan@bun.sh> Co-authored-by: Ashcon Partovi <ashcon@partovi.net>
This commit is contained in:
@@ -153,9 +153,9 @@ void HTTPHeaderMap::setUncommonHeaderCloneName(const StringView name, const Stri
|
||||
return equalIgnoringASCIICase(header.key, name);
|
||||
});
|
||||
if (index == notFound) {
|
||||
LChar* ptr = nullptr;
|
||||
std::span<LChar> ptr;
|
||||
auto nameCopy = WTF::String::createUninitialized(name.length(), ptr);
|
||||
memcpy(ptr, name.span8().data(), name.length());
|
||||
memcpy(ptr.data(), name.span8().data(), name.length());
|
||||
m_uncommonHeaders.append(UncommonHeader { nameCopy, value });
|
||||
} else
|
||||
m_uncommonHeaders[index].value = value;
|
||||
|
||||
Reference in New Issue
Block a user