Commit 1565f7e5 authored by Yi Kong's avatar Yi Kong
Browse files

Fix sendUrgentData on a closed socket leaks resources

If the socket is closed, sendUrgentData should not create a new impl.
Fail early to avoid leaking resources.

Bug: 31818400
Test: libcore.java.net.OldSocketTest#sendUrgentData
Change-Id: I0e783e110e6cb55ad70f81094c4b6663fc768b4e
parent ae7c1851
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment