Make initial read timeout configurable

This commit is contained in:
xDark
2020-07-29 16:59:39 +03:00
parent 4c5636e6f7
commit b79f6ad827
4 changed files with 29 additions and 1 deletions

View File

@@ -150,4 +150,12 @@ public interface ProxyConfig {
* @return read timeout (in milliseconds)
*/
int getReadTimeout();
/**
* Get how long this proxy will wait until performing an initial read timeout.
*
* @return read timeout (in milliseconds)
*/
int getInitialReadTimeout();
}