From: Roedy Green on
On Wed, 20 Jan 2010 08:44:07 -0800 (PST), Lew <lew(a)lewscanon.com>
wrote, quoted or indirectly quoted someone who said :

>You know what you get when you assume. The OP provided a dearth of
>information about exactly what he's doing. Perhaps he might consider
>sharing the details, or even providing an SSCCE.

The code is posted at http://mindprod.com/products1.html#VERCHECK

When I get a round tuit, I will prune this back to a SSCCE.

I was hoping someone else was having the problem and had solved it or
had read a post somewhere about timeouts not behaving the way they use
to.

Oddly, when I run the program a second time, usually it completes the
read immediately and successfully. This may be a Windows 7 64-bit
problem. I have found rebooting Win 7 often clears up a multitude of
strange behaviours.

The problem is not reproducible, the nastiest kind.

--
Roedy Green Canadian Mind Products
http://mindprod.com
Responsible Development is the style of development I aspire to now. It can be summarized by answering the question, �How would I develop if it were my money?� I�m amazed how many theoretical arguments evaporate when faced with this question.
~ Kent Beck (born: 1961 age: 49) , evangelist for extreme programming .
From: Roedy Green on
On Wed, 20 Jan 2010 20:53:03 +0100, Lothar Kimmeringer
<news200709(a)kimmeringer.de> wrote, quoted or indirectly quoted someone
who said :

>The last time I checked, GetMethod and PostMethod were two
>classes sharing a lot of methods but not a common superclass.
>So you end up with code like this

Are you complaining about Sun or Apache?
--
Roedy Green Canadian Mind Products
http://mindprod.com
Responsible Development is the style of development I aspire to now. It can be summarized by answering the question, �How would I develop if it were my money?� I�m amazed how many theoretical arguments evaporate when faced with this question.
~ Kent Beck (born: 1961 age: 49) , evangelist for extreme programming .
From: Arne Vajhøj on
On 20-01-2010 20:17, Roedy Green wrote:
> On Wed, 20 Jan 2010 08:44:07 -0800 (PST), Lew<lew(a)lewscanon.com>
> wrote, quoted or indirectly quoted someone who said :
>> You know what you get when you assume. The OP provided a dearth of
>> information about exactly what he's doing. Perhaps he might consider
>> sharing the details, or even providing an SSCCE.
>
> The code is posted at http://mindprod.com/products1.html#VERCHECK
>
> When I get a round tuit, I will prune this back to a SSCCE.
>
> I was hoping someone else was having the problem and had solved it or
> had read a post somewhere about timeouts not behaving the way they use
> to.
>
> Oddly, when I run the program a second time, usually it completes the
> read immediately and successfully.

Sounds more like a very slow DNS server and your immediate DNS server
having the name cached the second time.

Arne
From: Arne Vajhøj on
On 20-01-2010 20:18, Roedy Green wrote:
> On Wed, 20 Jan 2010 20:53:03 +0100, Lothar Kimmeringer
> <news200709(a)kimmeringer.de> wrote, quoted or indirectly quoted someone
> who said :
>> The last time I checked, GetMethod and PostMethod were two
>> classes sharing a lot of methods but not a common superclass.
>> So you end up with code like this
>
> Are you complaining about Sun or Apache?

Given that the code was explicit stated to be Apache, then
complaining to SUN would not make much sense.

Arne

From: Roedy Green on
On Wed, 20 Jan 2010 20:23:35 -0500, Arne Vajh�j <arne(a)vajhoej.dk>
wrote, quoted or indirectly quoted someone who said :

>Given that the code was explicit stated to be Apache, then
>complaining to SUN would not make much sense.

He was not explicit. If you know that GetMethod and PostMethod are
unique to Apache, you could infer that. But Lothar did not state it
explicitly. The audience is wider than those who post. It always
helps to make things abundantly clear.
--
Roedy Green Canadian Mind Products
http://mindprod.com
Responsible Development is the style of development I aspire to now. It can be summarized by answering the question, �How would I develop if it were my money?� I�m amazed how many theoretical arguments evaporate when faced with this question.
~ Kent Beck (born: 1961 age: 49) , evangelist for extreme programming .