Repository navigation
Releases: dartondox/dox-http-native
Releases · dartondox/dox-http-native
Release list
3.0.3
New
-
Configurable keep-alive idle timeout. A connection with no new request closes after
idleTimeout. The default stays 30 seconds.Behind a load balancer, set it longer than the balancer's idle timeout. For example, AWS ALB keeps connections for 60 seconds, so use 65. Otherwise the server may close a connection the balancer still uses, and clients get
502.NativeHttpServer server = await NativeHttpServer.bind( 3000, idleTimeout: Duration(seconds: 65), );
Fixes (with autoCompress on)
- Answers that could be gzipped now send
Vary: Accept-Encoding. A shared cache no longer gives a gzip body to a client that can not read it. Accept-Encoding: gzip;q=0now means "no gzip".- Files that are compressed already (images, audio, video, zip, woff and so on) are no longer gzipped again. This saves CPU.
image/svg+xmlis still gzipped.
Good to know
- Native ABI 9. The build hook downloads the new library for you.
- The
idleTimeoutfield now shows the value given tobind. Setting it later still has no effect, and it stays deprecated.
Full list: the CHANGELOG.
Ready-built dox_http_native libraries. See SHA256SUMS.
v3.0.2
New: fast AES-GCM
AesGcm.sealandAesGcm.open: AES-256-GCM in Rust, with the AES instructions of the CPU.- dox_core 3.0.1 uses it for encrypted cookies, sessions and CSRF. One cookie now takes about 1–2 µs. It took about 100 µs in pure Dart.
- The output is the same as before, so cookies made by older versions still open.
Other
- Native ABI 8. The build hook downloads the matching library by itself.
- Fix for contributors: the build hook now rebuilds the library when any Rust file changes, not only
lib.rs.
Ready-built libraries for Linux (x64, arm64), macOS (x64, arm64) and Windows (x64). See SHA256SUMS.
v3.0.1
Ready-built dox_http_native libraries. See SHA256SUMS.
v3.0.0
Ready-built dox_http_native libraries. See SHA256SUMS.
v3.0.0-alpha.8
Ready-built dox_http_native libraries. See SHA256SUMS.
v3.0.0-alpha.7
Ready-built dox_http_native libraries. See SHA256SUMS.