ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gintautas Grigelionis <g.grigelio...@gmail.com>
Subject Re: Ivy - BasicURLHandler ignoring timeout during connection?
Date Fri, 19 May 2017 18:51:13 GMT
My 2¢: timeout has only effect on doHead, in all other cases Ivy is trying
the hardest it can. Just search for setTimeout :-)


2017-05-19 16:10 GMT+02:00 J Pai <jai.forums2013@gmail.com>:

> I was looking at some timing issues in test cases and noticed that the
> BasicURLHandler.getURLInfo with a timeout[1] seems to be ignoring that
> timeout completely. Am I missing something or is it just a oversight/bug?
> Furthermore, the javadoc of URLHandler.getURLInfo doesn’t tell much about
> what the timeout is about. I’m guessing it’s a connect timeout? Is the
> intention to use to same for (socket) read timeout too?
>
> It’s another matter that the test case that I was looking into doesn’t
> pass a timeout.
>
> [1] https://github.com/apache/ant-ivy/blob/master/src/java/org/
> apache/ivy/util/url/BasicURLHandler.java#L57
> [2] https://github.com/apache/ant-ivy/blob/master/src/java/org/
> apache/ivy/util/url/URLHandler.java#L164
>
> -Jaikiran
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message