@ai-ecoverse/slicc-kernel 1.149.0 → 1.149.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +2 -2
- package/dist/kernel-worker.js +5 -2
- package/dist/kernel-worker.js.map +2 -2
- package/dist/node-process-worker.js +1 -1
- package/dist/node.js +5 -2
- package/dist/node.js.map +2 -2
- package/dist/process-worker.js +1 -1
- package/package.json +1 -1
|
@@ -7187,7 +7187,7 @@ var KERNEL_VERSION, OS_RELEASE;
|
|
|
7187
7187
|
var init_version = __esm({
|
|
7188
7188
|
"src/version.ts"() {
|
|
7189
7189
|
"use strict";
|
|
7190
|
-
KERNEL_VERSION = true ? "1.149.
|
|
7190
|
+
KERNEL_VERSION = true ? "1.149.1" : "0.0.0-dev";
|
|
7191
7191
|
OS_RELEASE = "6.0.0-slicc";
|
|
7192
7192
|
}
|
|
7193
7193
|
});
|
package/dist/node.js
CHANGED
|
@@ -3358,7 +3358,7 @@ function satisfies(version, range2) {
|
|
|
3358
3358
|
}
|
|
3359
3359
|
|
|
3360
3360
|
// src/version.ts
|
|
3361
|
-
var KERNEL_VERSION = true ? "1.149.
|
|
3361
|
+
var KERNEL_VERSION = true ? "1.149.1" : "0.0.0-dev";
|
|
3362
3362
|
var OS_RELEASE = "6.0.0-slicc";
|
|
3363
3363
|
function procVersion() {
|
|
3364
3364
|
return `Linux version ${OS_RELEASE} (slicc-kernel ${KERNEL_VERSION}) #1 SMP PREEMPT_DYNAMIC
|
|
@@ -31209,6 +31209,7 @@ function serveTransport(peer, transport, { closeWaitMs = CLOSE_WAIT_MS3 } = {})
|
|
|
31209
31209
|
const flow = {
|
|
31210
31210
|
inflight: 0,
|
|
31211
31211
|
closing: false,
|
|
31212
|
+
dropped: false,
|
|
31212
31213
|
deadline: () => AbortSignal.timeout(closeWaitMs).addEventListener("abort", late, { once: true })
|
|
31213
31214
|
};
|
|
31214
31215
|
credit.set(nid, flow);
|
|
@@ -31220,7 +31221,7 @@ function serveTransport(peer, transport, { closeWaitMs = CLOSE_WAIT_MS3 } = {})
|
|
|
31220
31221
|
const next3 = await Promise.race([messages.next(), unanswered]);
|
|
31221
31222
|
if (next3 === "late" || next3.done) break;
|
|
31222
31223
|
const data = next3.value;
|
|
31223
|
-
if (flow.
|
|
31224
|
+
if (flow.dropped) continue;
|
|
31224
31225
|
if (payloadSize(data) > MESSAGE_LIMIT) {
|
|
31225
31226
|
oversize = true;
|
|
31226
31227
|
break;
|
|
@@ -31274,6 +31275,8 @@ function serveTransport(peer, transport, { closeWaitMs = CLOSE_WAIT_MS3 } = {})
|
|
|
31274
31275
|
};
|
|
31275
31276
|
const drop = (nid) => {
|
|
31276
31277
|
sockets.get(nid)?.close(1e3, "cancelled");
|
|
31278
|
+
const flow = credit.get(nid);
|
|
31279
|
+
if (flow) flow.dropped = true;
|
|
31277
31280
|
refill(nid, 0, true);
|
|
31278
31281
|
const entry = open.get(nid);
|
|
31279
31282
|
open.delete(nid);
|