GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Tags · uNetworking/uWebSockets
Tags
v20.81.0Preserve per-connection WebSocket compressor selection (#1955) The 3 KB compatibility check used a bitwise overlap test. Every dedicated compressor setting shares bits with `DEDICATED_COMPRESSOR_3KB`, so the check silently replaced larger per-connection compressors with the 3 KB setting, which uses a 512-byte window and `memLevel` 1. Mask the configured options with `CompressOptions::_COMPRESSOR_MASK` before comparing them with `DEDICATED_COMPRESSOR_3KB`. This keeps the 3 KB compatibility handling while allowing larger dedicated compressors to use their negotiated settings. Replaying 1,500 recorded stage frames (7.8 MB) produced these compression ratios: DEDICATED_COMPRESSOR_256KB 1.64x before, 7.90x after DEDICATED_COMPRESSOR_8KB 1.64x before, 3.00x after DEDICATED_COMPRESSOR_3KB 1.64x before, 1.64x after SHARED_COMPRESSOR 4.65x before, 4.65x after Every frame decompressed byte-for-byte after the change. Contributed by Spiderware (https://spiderware.gg). v20.79.0Fix cork() closing a WebSocket that was upgraded asynchronously (#1929) cork() detected an in-handler upgrade with `this != newCorkedSocket`, but us_socket_context_adopt_socket() reallocs the poll and returns the same pointer when the WebSocket extension is not larger than the HttpResponse extension. The upgrade then went undetected and cork() ran its HTTP connection-close logic on the now-WebSocket socket, closing it right after open. Also compare the socket context, which always changes on upgrade. PreviousNext
|
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |