commit | 4ff585466887785d48c02d14a15dcde64934442b | [log] [tgz] |
---|---|---|
author | JP Abgrall <jpa@google.com> | Mon Nov 21 16:28:08 2011 -0800 |
committer | JP Abgrall <jpa@google.com> | Mon Nov 21 16:28:08 2011 -0800 |
tree | ef56d7ac608d3e7c6d01fb37c5ea427883c605c1 | |
parent | 0c180b1a4953c9d543e8183cd887e2a06cb2bd75 [diff] |
libcore: BlockGuard: untag socket on close java.net.Socket creates the socket on connect(). But in case of failure during the connect() it closes the socket. During the create, BlockGuard's socket() is the one tagging the socket. But in case of failure, nobody untags that socket. So now we untag scokets on close() in BlockGuard Bug: 5274621 Change-Id: I282665a05e2dc184df77c84ceab49fb55b7695af