aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/webcore.zig
diff options
context:
space:
mode:
authorGravatar Dylan Conway <35280289+dylan-conway@users.noreply.github.com> 2023-03-18 00:55:05 -0700
committerGravatar GitHub <noreply@github.com> 2023-03-18 00:55:05 -0700
commita9c41c67e639714fbb4d7764e18be37615280c08 (patch)
tree200e293da7e447f349c9dc6c2cfee593d21a3eff /src/bun.js/webcore.zig
parent1d4cc63154366dbdbdb87c8da43753cdac13d995 (diff)
downloadbun-a9c41c67e639714fbb4d7764e18be37615280c08.tar.gz
bun-a9c41c67e639714fbb4d7764e18be37615280c08.tar.zst
bun-a9c41c67e639714fbb4d7764e18be37615280c08.zip
Fix several bugs (#2418)
* utf16 codepoint with replacement character * Fix test failure with `TextEncoder("ascii')` * Add missing type * Fix Response.prototype.bodyUsed and Request.prototype.bodyUsed * Fix bug with scrypt error not clearing * Update server.zig * oopsie
Diffstat (limited to 'src/bun.js/webcore.zig')
-rw-r--r--src/bun.js/webcore.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bun.js/webcore.zig b/src/bun.js/webcore.zig
index 70c6ded5c..4bb0bd2a5 100644
--- a/src/bun.js/webcore.zig
+++ b/src/bun.js/webcore.zig
@@ -583,6 +583,7 @@ pub const Crypto = struct {
else => @compileError("Error type not added!"),
};
globalThis.throwValue(err);
+ BoringSSL.ERR_clear_error();
return .zero;
}