commit | c1b1f6ff5de82b457923eea3f0bbad1ac2e459d7 | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Tue Sep 15 16:27:09 2015 -0700 |
committer | Yabin Cui <yabinc@google.com> | Wed Sep 16 15:00:59 2015 -0700 |
tree | cd1845dd60311ff07e9eadad5a9833f7a9a0a0c8 | |
parent | fa965d9639dc264bb0d18e71dff998a4f648b50d [diff] |
Add unit tests for local socket. Add has_write_error flag in asocket, so it will not wait on local_socket_closing_list to write pending packets in local_socket_close(). Although it doesn't fix any problem, it helps to make the code more stable. Add a missing put_apacket() in error handling. Add a check when adding local socket in local_socket_closing_list. Bug: 23314034 Change-Id: I75b07ba8ee59b7f277fba2fb919db63065b291be