Increase buffer size for XMPP sockets.
Previously 4096 bytes write buffer was used for XMPP socket. Problem is that ChromeAsyncSocket stops writing when the buffer is full and talk::XmppClient ignores this error, as result random chunks of data may be lost. This CL increses buffer size to 64k - same value that's used in notifier::XmppConnection. This is essentially a temporary workaround until the problem is fixed in jingle::ChromeAsyncSocket or talk::XmppClient BUG=417336 Review URL: https://codereview.chromium.org/608613002 Cr-Commit-Position: refs/heads/master@{#296805}
Showing
Please register or sign in to comment