mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
df52a8d25b
Previously, mBufferedAmount is only updated when copy complete. If I keep calling `send`, `NotifyCopyComplete` is only called after the last `send`. This patch changes to update mBufferedAmount in every `send` call, so that it returns `false` correctly if buffer is full. Differential Revision: https://phabricator.services.mozilla.com/D118258 |
||
---|---|---|
.. | ||
interfaces | ||
tests | ||
Connection.cpp | ||
Connection.h | ||
ConnectionMainThread.cpp | ||
ConnectionMainThread.h | ||
ConnectionWorker.cpp | ||
ConnectionWorker.h | ||
Constants.h | ||
moz.build | ||
PTCPServerSocket.ipdl | ||
PTCPSocket.ipdl | ||
PUDPSocket.ipdl | ||
TCPServerSocket.cpp | ||
TCPServerSocket.h | ||
TCPServerSocketChild.cpp | ||
TCPServerSocketChild.h | ||
TCPServerSocketParent.cpp | ||
TCPServerSocketParent.h | ||
TCPSocket.cpp | ||
TCPSocket.h | ||
TCPSocketChild.cpp | ||
TCPSocketChild.h | ||
TCPSocketParent.cpp | ||
TCPSocketParent.h | ||
UDPSocket.cpp | ||
UDPSocket.h | ||
UDPSocketChild.cpp | ||
UDPSocketChild.h | ||
UDPSocketParent.cpp | ||
UDPSocketParent.h |