Changeset 138351 in webkit


Ignore:
Timestamp:
Dec 20, 2012 11:25:01 PM (11 years ago)
Author:
ap@apple.com
Message:

Disable Nagle algorithm on WebSocket implementation for CF.
https://bugs.webkit.org/show_bug.cgi?id=102079

Build fix. Disable the new code on Lion, _kCFStreamSocketSetNoDelay apparently
cannot be used on this OS version.

  • platform/network/cf/SocketStreamHandleCFNet.cpp: (WebCore::SocketStreamHandle::createStreams):
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r138349 r138351  
     12012-12-20  Alexey Proskuryakov  <ap@apple.com>
     2
     3        Disable Nagle algorithm on WebSocket implementation for CF.
     4        https://bugs.webkit.org/show_bug.cgi?id=102079
     5
     6        Build fix. Disable the new code on Lion, _kCFStreamSocketSetNoDelay apparently
     7        cannot be used on this OS version.
     8
     9        * platform/network/cf/SocketStreamHandleCFNet.cpp:
     10        (WebCore::SocketStreamHandle::createStreams):
     11
    1122012-12-20  KyungTae Kim  <ktf.kim@samsung.com>
    213
  • trunk/Source/WebCore/platform/network/cf/SocketStreamHandleCFNet.cpp

    r138348 r138351  
    5454#endif
    5555
    56 #if !PLATFORM(WIN)
     56#if !PLATFORM(WIN) && !BUILDING_ON_LION
    5757extern "C" const CFStringRef _kCFStreamSocketSetNoDelay;
    5858#endif
     
    279279    CFWriteStreamRef writeStream = 0;
    280280    CFStreamCreatePairWithSocketToHost(0, host.get(), port(), &readStream, &writeStream);
    281 #if !PLATFORM(WIN)
     281#if !PLATFORM(WIN) && !BUILDING_ON_LION
    282282    // <rdar://problem/12855587> _kCFStreamSocketSetNoDelay is not exported on Windows
    283283    CFWriteStreamSetProperty(writeStream, _kCFStreamSocketSetNoDelay, kCFBooleanTrue);
Note: See TracChangeset for help on using the changeset viewer.