зеркало из https://github.com/mozilla/gecko-dev.git
261a3f87cf
Calling read on a socket that has been closed for reading by the peer, read returns 0. The socket is still readable however, so polling and reading will return constant results of 0 received bytes. With this patch, if a socket's peer shuts down reading or if we reached the EOF, we stop watching the file descriptor for readability. |SocketIOBase| will detect this case exactly once and initiate the socket's shutdown. |
||
---|---|---|
.. | ||
hfp | ||
hfp-fallback | ||
BluetoothA2dpManager.cpp | ||
BluetoothA2dpManager.h | ||
BluetoothInterface.cpp | ||
BluetoothInterface.h | ||
BluetoothOppManager.cpp | ||
BluetoothOppManager.h | ||
BluetoothServiceBluedroid.cpp | ||
BluetoothServiceBluedroid.h | ||
BluetoothSocket.cpp | ||
BluetoothSocket.h | ||
BluetoothUtils.cpp | ||
BluetoothUtils.h | ||
b2g_bdroid_buildcfg.h |