-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(server/tls/streams) fix onReadFile, streams, avoid shutdown on fatal errors, ensure ssl loop data and server ref count refactor #12979
Conversation
❌ @cirospaciari, your commit e01519d has 14 failures in |
e21fd72
to
9ee70bb
Compare
91b2b68
to
fabee65
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2 comments but mostly LGTM
@@ -1976,7 +1978,7 @@ fn NewRequestContext(comptime ssl_enabled: bool, comptime debug_mode: bool, comp | |||
if (this.signal) |signal| { | |||
this.signal = null; | |||
if (this.flags.aborted and !signal.aborted()) { | |||
const reason = JSC.WebCore.AbortSignal.createAbortError(JSC.ZigString.static("The user aborted a request"), &JSC.ZigString.Empty, this.server.globalThis); | |||
const reason = JSC.WebCore.AbortSignal.createAbortError(JSC.ZigString.static("The user aborted a request"), &JSC.ZigString.Empty, globalThis); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As a follow-up, instead of creating this AbortError, we could probably add an enum to AbortSignal for known types of signals. Then, we can defer creating the JSValue here if it's not used.
@cirospaciari, CMake Warning at CMakeLists.txt:267 (message):
Expected LLVM 18 as the C++ compiler, build may fail or break at runtime.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
9 371M 9 36.2M 0 0 33.1M 0 0:00:11 0:00:01 0:00:10 33.1M
29 371M 29 108M 0 0 51.6M 0 0:00:07 0:00:02 0:00:05 71.8M
43 371M 43 162M 0 0 52.6M 0 0:00:07 0:00:03 0:00:04 63.2M
62 371M 62 233M 0 0 57.0M 0 0:00:06 0:00:04 0:00:02 65.7M
80 371M 80 300M 0 0 58.9M 0 0:00:06 0:00:05 0:00:01 65.9M
100 371M 100 371M 0 0 60.0M 0 0:00:06 0:00:06 --:--:-- 65.8M
100 371M 100 371M 0 0 60.0M 0 0:00:06 0:00:06 --:--:-- 64.4M Commit: e01519d |
d77531f
to
e01519d
Compare
What does this PR do?
How did you verify your code works?
Existing tests