| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| ntex v4.4.0 source code.tar.gz | < 18 hours ago | 1.4 MB | |
| ntex v4.4.0 source code.zip | < 18 hours ago | 1.7 MB | |
| README.md | < 18 hours ago | 2.0 kB | |
| Totals: 3 Items | 3.0 MB | 0 | |
Changes
-
Expose
service::ReadyCallbackandon_notifyregistration onBindCtx, pipelines, and bindings for observing explicit readiness notifications. Delivery reuses registered storage and coalesces nested callbacks on active scopes without skipping readiness invalidation. -
Deprecate
Ctx::call_nowaitin favor of cache-awareCtx::call. The legacy method retains its readiness bypass during compatibility. -
Forward initialization-time readiness binding through service adapters. Lazy web routes and default services use
Ctx::createto bind their dependencies to the current scope before first use. -
Add
trackerfeature, memory attribution of read buffers withIoConfig::set_buf_tracker(). Re-exportBytesTrackerandBytesTrackerSnapshotinntex::util -
Add
HttpServer::load_balancing(). New connections go to the worker on the CPU that receives their packets (the RSS CPU on Windows,SO_INCOMING_CPUon Linux) unless it is busier, and to the least loaded worker otherwise (LoadBalancing::IncomingCpu, the default). UseLoadBalancing::RoundRobinfor the previous behavior -
Add
HttpServer::affinity(),enable_affinity()is deprecated and does nothing. Workers are placed on physical cores first. Affinity is now enabled by default:Affinity::Soft(preferred CPU, no pinning) on Windows,Affinity::Coreon other platforms -
http: The HTTP/1 dispatcher reports the connection close reason to
IoRef::set_close_reason() -
The default number of workers counts the CPUs of all processor groups on Windows, it was limited to 64 before
-
Replace
nanorandwithfastrandfor WebSocket keys and frame masks, and update to ntex-h2 4.3.0, which does the same.nanoranddoes not linkadvapi32on Windows (unresolvedSystemFunction036), it was only linked throughcore_affinitybefore -
http/1: Use
IoRef::is_filter_paused(), a filter chain that is not ready pauses reads only