# Epoxy WebSocket flushing fix Epoxy TLS 2.1.18-1, upstream commit b428c01cde0bf9be25469f24ad8b4d2b7c5f6f3b, with epoxy-transport 2.1.28. Copyright Mercury Workshop and contributors. AGPL-3.0-only; see LICENSE and the dependency licenses in the source archive. Modified by Re:Vault on November 7, 2026. Source revision: b191b214c11c5cbbbd3e9252c14527bb432a6320. Data frames, automatic replies and closing frames flush the buffered TLS stream before releasing the write mutex. The archive build accepts SOURCE_REVISION instead of requiring Git metadata. No TLS verification, network restrictions, worker counts, or transport memory limits have changed. source.tar.gz contains the exact native source, all Rust dependency sources, the unmodified transport TypeScript, and the native build recipe. TOOLCHAIN.json pins tools and download checksums. Install the pinned Rust nightly with rust-src and wasm32-unknown-unknown, wasm-bindgen 0.2.100, Binaryen 123, clang 19.1.7, jq, bash, a C linker and standard build utilities. Add those tools to PATH. Run ./rebuild.sh in the extracted archive. It builds offline after the toolchain is installed. Set CARGO_HOME and RUSTUP_HOME to private caches if desired. Native outputs are native/client/pkg/epoxy-bundled.js and epoxy.wasm. Re:Vault bundles transport/transport.ts using esbuild 0.28.1, format esm, platform browser, bundle true, minify false, sourcemap false, with the @mercuryworkshop/epoxy-tls import aliased to that exact epoxy-bundled.js. The application build retains its existing once-per-worker WASM initialization guard and substitutes the generated WASM asset name. Shared node_modules are not modified. Artifact hashes are checked before every application build. The native source is https://github.com/MercuryWorkshop/epoxy-tls and transport source is https://github.com/MercuryWorkshop/epoxy-transport. All source needed for this modified build is supplied locally in source.tar.gz; the links are additional references. The Rust compiler's standard library comes with rust-src. After the native build, install the exact esbuild version from package.json and run node assemble.mjs. The archive includes the exact application initialization guard and artifact-loader source under application/. Generated asset names and build comments may differ from a deployed application build; the native WASM and its matching bindings are the pinned inputs. An equivalent flush patch is already on Re:Vault's beta line, based on the published native module's e2d1d4e50a97be4a1a242eea6b212cfb77b78426 source marker. That source and the npm gitHead used here differ only in three version fields; the native code and dependency versions match. Do not combine the two loaders when integrating release branches. Preserve the beta's separate buffer-ownership fix and SVG export behavior and re-run their gates before republishing.