Changeset 246573 in webkit


Ignore:
Timestamp:
Jun 18, 2019 3:29:54 PM (5 years ago)
Author:
Joseph Pecoraro
Message:

WebSocketDeflater uses an unnecessarily constrained compression memory level
https://bugs.webkit.org/show_bug.cgi?id=198973

Reviewed by Alex Christensen.

  • Modules/websockets/WebSocketDeflater.cpp:

Set the memLevel to the deflateInit2 default value, not a minimum value.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r246565 r246573  
     12019-06-18  Joseph Pecoraro  <pecoraro@apple.com>
     2
     3        WebSocketDeflater uses an unnecessarily constrained compression memory level
     4        https://bugs.webkit.org/show_bug.cgi?id=198973
     5
     6        Reviewed by Alex Christensen.
     7
     8        * Modules/websockets/WebSocketDeflater.cpp:
     9        Set the memLevel to the deflateInit2 default value, not a minimum value.
     10
    1112019-06-18  Keith Miller  <keith_miller@apple.com>
    212
  • trunk/Source/WebCore/Modules/websockets/WebSocketDeflater.cpp

    r225618 r246573  
    4444namespace WebCore {
    4545
    46 static const int defaultMemLevel = 1;
     46static const int defaultMemLevel = 8;
    4747static const size_t bufferIncrementUnit = 4096;
    4848
Note: See TracChangeset for help on using the changeset viewer.