Created
June 27, 2021 12:07
-
-
Save nkalra0123/003b5a3ef7844fa537151b97c6759d91 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Maximum time to wait on Socket.getInputStream().read() (in milliseconds) | |
* This is required as the Keep-Alive HTTP connections would otherwise block | |
* the socket reading thread forever (or as long the browser is open). | |
*/ | |
public static final int SOCKET_READ_TIMEOUT = 5000; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment