mockwebserver / okhttp3.mockwebserver / SocketPolicy / SHUTDOWN_INPUT_AT_END

SHUTDOWN_INPUT_AT_END

SHUTDOWN_INPUT_AT_END

Shutdown the socket input after sending the response. For testing bad behavior.

See SocketPolicy for reasons why this can cause test flakiness and how to avoid it.