mirror of
https://github.com/oven-sh/bun
synced 2026-02-11 19:38:58 +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:
@@ -212,10 +212,10 @@ static EncodedJSValue assignHeadersFromUWebSockets(uWS::HttpRequest* request, JS
|
||||
for (auto it = request->begin(); it != request->end(); ++it) {
|
||||
auto pair = *it;
|
||||
StringView nameView = StringView(std::span { reinterpret_cast<const LChar*>(pair.first.data()), pair.first.length() });
|
||||
LChar* data = nullptr;
|
||||
std::span<LChar> data;
|
||||
auto value = String::createUninitialized(pair.second.length(), data);
|
||||
if (pair.second.length() > 0)
|
||||
memcpy(data, pair.second.data(), pair.second.length());
|
||||
memcpy(data.data(), pair.second.data(), pair.second.length());
|
||||
|
||||
HTTPHeaderName name;
|
||||
WTF::String nameString;
|
||||
|
||||
Reference in New Issue
Block a user