Fix another assertion failure

This commit is contained in:
Jarred Sumner
2022-11-15 23:23:36 -08:00
parent 1d02104c51
commit 5de98f23bb

View File

@@ -2182,7 +2182,7 @@ fn NewRequestContext(comptime ssl_enabled: bool, comptime debug_mode: bool, comp
}
pub fn onStartStreamingRequestBody(this: *RequestContext) JSC.WebCore.DrainResult {
if (this.aborted) {
if (this.aborted or this.finalized) {
return JSC.WebCore.DrainResult{
.aborted = void{},
};