W3C home > Mailing lists > Public > www-lib@w3.org > January to March 2001

AW: libwww hangs on NT4

From: Markus Bäurle <m.baeurle@caa.de>
Date: Tue, 20 Feb 2001 17:41:16 +0100
Message-ID: <AAAEFDDFF161E1488A5A2D1300CDE54B034EE1@strm001.caa.de>
To: "'www-lib@w3.org'" <www-lib@w3.org>
Hello Nick,

I'm sorry for my late answer, but we were quite busy to get everything
going.
I tried your hint, but it didn't change anything.

Then I tried the only thing that I had left to try, I recompiled libwww
without
the WWW_WIN_ASYNC directive.
And that was it, now it works fine on all machines.
Damn Microsoft must have changed something with IE 5.5 that breaks libwww
when it's using asynchronous I/O. Worst thing is, they don't say anything
about changing something with this release! Well, certainly, everybody
should be using Microsoft APIs anyway, why should they tell us about things
like that.

There is one little problem without WWW_WIN_ASYNC, but I'll describe this in
another message so it's easier to pick up.

So long and thanks for your help,

Markus

DISCLAIMER: Any opinions voiced are my personal opinions and not those of my
employer.

> -----Ursprüngliche Nachricht-----
> Von: Nick Riebeek [mailto:nriebeek@powersurfr.com]
> Gesendet: Dienstag, 6. Februar 2001 17:41
> An: Markus Bäurle
> Betreff: Re: libwww hangs on NT4
> 
> 
> Hello Markus,
> 
> I was having a problem with my program
> hanging in the event loop as well.  It seemed to
> be caused by a persistant socket problem.  I
> solved it by adding the line HTNet_setMaxSocket(2);
> The documentation says setting the max number of
> sockets to two prevents persistant sockets.  This
> solved my problem but don't know if it will help
> you out or not, hope it does.
> 
> Nick Riebeek
> 
> ----- Original Message -----
> From: Markus Bäurle <m.baeurle@caa.de>
> To: <www-lib@w3.org>
> Sent: Tuesday, February 06, 2001 9:29 AM
> Subject: libwww hangs on NT4
> 
> 
> > Hello,
> >
> > I ran into an annoying and serious issue:
> > All example programs and my code work fine on my machine 
> (Win2000, SP1, IE
> > 5.00.3103.1000)
> > and another machine (NT4, SP6, IE 5.00.2919.6307) but they 
> hang on another
> > developer's
> > machine which also has NT4, SP6 but IE 5.50.4134.0600.
> > Hanging means that the code gets to the HTEventList_loop() 
> call and then
> > stays there forever.
> > (I talked to somebody for more than 15 minutes and when I 
> got back it was
> > still there.)
> >
> > I tried my code (which does a POST) and also the chunkbody 
> and postform
> > examples, all with the same effect. postform gets as far as 
> "Connecting to
> > strw066" and then that's it.
> >
> > Has anybody seen such behaviour before? Any hint will be greatly
> > appreciated.
> > Don't just limit it to libwww, maybe you saw something similar with
> > different software
> > but this might help us as well.
> >
> > Mit freundlichen Grüssen / Best regards
> >
> > Markus Bäurle
> > Softwareentwicklung / Software Development
> >
> > CAA AG
> > Raiffeisenstr. 34
> > 70794 Filderstadt-Bonlanden
> > Germany
> > Tel:  +49 / 711 / 9 0 77 0 - 363
> > Fax: +49 / 711 / 9 0 77 0 - 199
> > E-Mail: m.baeurle@caa.de
> > Web: http://www.caa.de
> >
> >
> 
Received on Tuesday, 20 February 2001 11:41:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:38 GMT