mirror of
https://github.com/square/okhttp.git
synced 2026-01-24 04:02:07 +03:00
This notably allows the mockwebserver project to be run on Android. ServerSocket only implements Closeable since Java 1.7 and thus calling of closeQuietly(Closeable) with a ServerSocket argument fails when running on Java 1.5 or 1.6 JVMs. This is the same as is already done for closeQuietly(Socket).