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 — Allow configuring the windowBits and memLevel WebSocket compression (deflate) parameters on the server side · Issue #13083 · netty/netty Closed Milestone DescriptionWe've been developing a WebSocket server that should be capable of handling a large number of parallel connections with compression enabled. Currently, there is no possibility to configure the Please, consider making the For now, we have modified ... int serverWindowSize = preferredAndMaxServerWindowSize; // int serverWindowSize = MAX_WINDOW_SIZE; ... Iterator<Entry<String, String>> parametersIterator = extensionData.parameters().entrySet().iterator(); while (deflateEnabled && parametersIterator.hasNext()) { ... else if (SERVER_MAX_WINDOW.equalsIgnoreCase(parameter.getKey())) { // use provided windowSize if it is allowed if (allowServerWindowSize) { // RFC: // A server accepts an extension negotiation offer with this parameter // by including the "server_max_window_bits" extension parameter in the // extension negotiation response to send back to the client with the // same or SMALLER value as the offer. // // That's why we can reduce the client's proposal to preferredAndMaxServerWindowSize. serverWindowSize = min(parseInt(parameter.getValue()), preferredAndMaxServerWindowSize); if (serverWindowSize > MAX_WINDOW_SIZE || serverWindowSize < MIN_WINDOW_SIZE) { deflateEnabled = false; } } else { deflateEnabled = false; } } ... } We have also modified Adding support for the Netty version4.1.77.Final Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — 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. |