@ai-ecoverse/slicc-kernel 1.159.3 → 1.159.5

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/dist/node.js CHANGED
@@ -2205,6 +2205,8 @@ var KernelSocket = class _KernelSocket {
2205
2205
  remoteAddr: "",
2206
2206
  read: async () => {
2207
2207
  const bytes = await raw2.rx.read(SERVE_CHUNK, handshaking ? signal : void 0).catch(() => EMPTY);
2208
+ if (bytes.length === 0 && this.refused)
2209
+ throw new KernelError("ECONNRESET", "read ECONNRESET");
2208
2210
  return bytes.length > 0 ? bytes : null;
2209
2211
  },
2210
2212
  write: (bytes) => raw2.tx.write(bytes),
@@ -3670,7 +3672,7 @@ function satisfies(version, range2) {
3670
3672
  }
3671
3673
 
3672
3674
  // src/version.ts
3673
- var KERNEL_VERSION = true ? "1.159.3" : "0.0.0-dev";
3675
+ var KERNEL_VERSION = true ? "1.159.5" : "0.0.0-dev";
3674
3676
  var OS_RELEASE = "6.0.0-slicc";
3675
3677
  function procVersion() {
3676
3678
  return `Linux version ${OS_RELEASE} (slicc-kernel ${KERNEL_VERSION}) #1 SMP PREEMPT_DYNAMIC