Guard socket file descriptor in UDPSocketLibevent
commit509aba26b3c3d65cebb1647cb03d8ad1db10eb28
authorsergeyu <sergeyu@chromium.org>
Fri, 3 Apr 2015 05:24:39 +0000 (2 22:24 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 3 Apr 2015 05:25:58 +0000 (3 05:25 +0000)
tree90c4730e493e856762f58b598293fc3ce8989a55
parentb64bcfdc2f0a9d51b98706da364f56d5a901c772
Guard socket file descriptor in UDPSocketLibevent

Now UDPSocketLibevent enables file descriptor guard for all UDP sockets
to make sure they are not closed from anywhere else except
UDPSocketLibevent::Close(). This is necessary to debug the linked bug

BUG=461246

Review URL: https://codereview.chromium.org/1053873003

Cr-Commit-Position: refs/heads/master@{#323624}
net/udp/udp_socket_libevent.cc