Дмитрий Жихарев
2018-05-16 12:16:40 UTC
Hi all!
I was wondering if the IOReactorConfig.DEFAULT intentionally has soTimeout set to ZERO_MILLESECONDS. Before version 5 there was also connectTimeout, which also was 0 for the default builder. I understand that the library can't make up its own mind on what timeout the user requires, but isn't it a good practice for the default config to have some sensible defaults so it doesn't hang forever if something goes wrong?
Regards, Dmitry Zhikharev
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-***@hc.apache.org
For additional commands, e-mail: httpclient-users-***@hc.apache.org
I was wondering if the IOReactorConfig.DEFAULT intentionally has soTimeout set to ZERO_MILLESECONDS. Before version 5 there was also connectTimeout, which also was 0 for the default builder. I understand that the library can't make up its own mind on what timeout the user requires, but isn't it a good practice for the default config to have some sensible defaults so it doesn't hang forever if something goes wrong?
Regards, Dmitry Zhikharev
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-***@hc.apache.org
For additional commands, e-mail: httpclient-users-***@hc.apache.org