mockwebserver / okhttp3.mockwebserver / SocketPolicy / DISCONNECT_AFTER_REQUEST

DISCONNECT_AFTER_REQUEST

DISCONNECT_AFTER_REQUEST

Close connection after reading the request but before writing the response. Use this to simulate late connection pool failures.