Re: Proposal for API for Data

Randell Jesup wrote:
>> I don't think this is true. It's certainly not implemented this way in
>> gecko (see
>> http://mxr.mozilla.org/mozilla-central/source/netwerk/protocol/websocket/WebSocketChannel.cpp#2707
>>
>> through 2744). Nothing in the WebSocket protocol acknowledges message
> In content/base/src/nsWebSocket.cpp, lines 1232 (return amount), 1322
> (amount += len), and line 370 (amount -= acked size).

The link I gave above is to the code that dispatches the call to the 
OnAcknowledge function you quote... and it isn't using any protocol 
ACKs, despite the function name.

Received on Tuesday, 10 April 2012 21:20:03 UTC