gecko-dev/dom/network
Ping Chen df52a8d25b Bug 1717185 - Fix mBufferedAmount and return value of send in TCPSocket. r=valentin
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
2021-07-01 00:20:14 +00:00
..
interfaces Bug 1696776 - Expose error code in TCPSocketErrorEvent. r=valentin 2021-03-07 16:21:10 +00:00
tests Bug 1717185 - Fix mBufferedAmount and return value of send in TCPSocket. r=valentin 2021-07-01 00:20:14 +00:00
Connection.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
Connection.h
ConnectionMainThread.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
ConnectionMainThread.h
ConnectionWorker.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
ConnectionWorker.h
Constants.h
PTCPServerSocket.ipdl
PTCPSocket.ipdl Bug 1696776 - Expose error code in TCPSocketErrorEvent. r=valentin 2021-03-07 16:21:10 +00:00
PUDPSocket.ipdl Bug 1660470 - Move void_t/null_t to a new IPCCore.h header. r=nika 2020-11-23 16:05:20 +00:00
TCPServerSocket.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
TCPServerSocket.h
TCPServerSocketChild.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
TCPServerSocketChild.h
TCPServerSocketParent.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
TCPServerSocketParent.h
TCPSocket.cpp Bug 1717185 - Fix mBufferedAmount and return value of send in TCPSocket. r=valentin 2021-07-01 00:20:14 +00:00
TCPSocket.h Bug 1717185 - Fix mBufferedAmount and return value of send in TCPSocket. r=valentin 2021-07-01 00:20:14 +00:00
TCPSocketChild.cpp Bug 1696776 - Expose error code in TCPSocketErrorEvent. r=valentin 2021-03-07 16:21:10 +00:00
TCPSocketChild.h
TCPSocketParent.cpp Bug 1696776 - Expose error code in TCPSocketErrorEvent. r=valentin 2021-03-07 16:21:10 +00:00
TCPSocketParent.h Bug 1696776 - Expose error code in TCPSocketErrorEvent. r=valentin 2021-03-07 16:21:10 +00:00
UDPSocket.cpp Bug 1708116 - Use NetAddr::InitFromString instead of PR_StringToNetAddr r=necko-reviewers,dragana 2021-05-10 09:26:01 +00:00
UDPSocket.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
UDPSocketChild.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
UDPSocketChild.h Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
UDPSocketParent.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
UDPSocketParent.h
moz.build Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00