I implemented the fix as suggested by @KPull. I also changed the CommonRequestAttributes to default to the USE_GLOBAL_TIMEOUT constant, instead of 0, since most of the HttpRequest implementations override the timeout method and delegate it to this class. Looking for feedback if there's a better approach to doing this, and if there's a better place for the USE_GLOBAL_TIMEOUT constant.
This is a fix for #54
I implemented the fix as suggested by @KPull. I also changed the
CommonRequestAttributes
to default to theUSE_GLOBAL_TIMEOUT
constant, instead of 0, since most of theHttpRequest
implementations override the timeout method and delegate it to this class. Looking for feedback if there's a better approach to doing this, and if there's a better place for theUSE_GLOBAL_TIMEOUT
constant.