-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=113304 Patch by Takeshi Yoshino <tyoshino@chromium.org> on 2013-03-26 Reviewed by Kent Tamura. socket_stream of Chromium buffers send data up to 32KiB (exact) bytes. However, SocketStreamHandleInternal::send() method now keeps in-flight send data not greater than m_maxPendingSendAllowed - 1 that is 32KiB - 1. This means that SocketStreamHandleInternal consumes the buffered data in SocketStreamHandleBase by 32KiB - 1. It makes memory copy operations unaligned unnecessarily. It should just use the allowed size fully. * platform/network/chromium/SocketStreamHandle.cpp: (WebCore::SocketStreamHandleInternal::send): (WebCore): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146965 268f45cc-cd09-0410-ab3c-d52691b4dbfc
bfc97c9f