Commit Graph

64 Commits

Author SHA1 Message Date
Benoit Jacob
6019c0d5f3 Bug 835920 - UnixSocket and Ril mis-interpret read() returning 0 as failure and enter infinite reconnect loop - r=kyle.machulis 2013-01-30 15:13:10 -05:00
Thomas Zimmermann
24c587ec34 Bug 830704: Delete UnixSocketImpl instance after SocketReceiveTasks completed [r=qdot]
The Bluetooth system internally uses UnixSocketImpl when transfering
files. When Bluetooth gets disabled during a file transfer, the IPC code
deletes any related instance of UnixSocketImpl. This can happen before all
pending SocketReceiveTasks have been processed by the main thread. The
implementation of SocketReceiveTask uses a reference to the instance of
UnixSocketImpl that has just deen disabled. This results in a segmantation
fault.

This patch fixes the problem by scheduling the delete operation for
UnixSocketImpl to be executed after any pending SocketReceiveTasks.
2013-01-16 10:21:49 +08:00
Kyle Machulis
d3f01c9b65 Bug 811683 - Changed UnixSocketRawData to take variable sizes up to 64k, r=cjones 2012-12-20 18:36:55 +08:00
Gina Yeh
e76ef0a220 Bug 804436 - Patch 1 : Add listening status to UnixSocket, r=gyeh 2012-10-26 17:28:34 +08:00
Kyle Machulis
c838b00979 Bug 800249 - Patch 2: Add ability to retreive connected socket address as a string; r=cjones 2012-10-17 17:11:05 -07:00
Kyle Machulis
863d03fc7d Bug 800249 - Patch 1: Add ability to store/retrieve address to UnixSocket; r=cjones 2012-10-17 17:10:27 -07:00
Kyle Machulis
ce973a704b Bug 800247: Add disconnect events to UnixSocket, update Bluetooth*Manager; r=echou r=cjones 2012-10-12 11:38:14 -07:00
Kyle Machulis
f28e7f6e44 Bug 796176 - Patch 1: UnixSocket changes to get connect/listen running main thread, connect status to consumers; r=cjones 2012-10-10 22:48:40 -07:00
Kyle Machulis
c84dfbb2a5 Bug 796184 - Revert UnixSocketImpl to a bare pointer, make Bluetooth*Managers use CloseSocket; r=cjones r=gyeh 2012-10-05 16:05:35 -07:00
Kyle Machulis
dc3e3c87a5 Bug 790739: Patch 1 - UnixSocket changes for server sockets; r=cjones 2012-10-01 00:03:16 -07:00
Kyle Machulis
cd306b0e65 Backing out e8e7e0cf43d8 (Bug 790739) due to bustage 2012-09-30 23:17:46 -07:00
Kyle Machulis
6b924d656a Bug 790739: Patch 1 - UnixSocket changes for server sockets; r=cjones 2012-09-30 22:54:27 -07:00
Kyle Machulis
215a8023d6 Bug 776182: Patch 3 - Socket I/O for ipc unix sockets; r=cjones r=echou 2012-09-25 13:13:15 -07:00
Kyle Machulis
242f67db8e Bug 776182: Patch 2 - Move Socket.* to UnixSocket.*; r=cjones 2012-09-25 12:32:09 -07:00