On Thu, 30 Jul 2009, Francesco Saverio Giudice wrote: Hi,
> Il 30/07/2009 14.32, Przemyslaw Czerpak ha scritto: >> Francesco please make quick test with Harbour code after: >> 2009-07-29 05:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) >> or better simply take today CVS. > I did this morning before writing email and the behavior is that I > described, with both versions. > The problem I saw is that connecting to http://localhost:8082 I got > sometimes correct pages or nothing. Already with index.html simple page. > With Ajax version (1st test) I got sometime the reply but other nothing. It > seems to be that in this case custom version works a little better with > higher number of correct replies. The above behavior describes problem with nonblocking socket so it's expected for Harbour versions before: 2009-07-29 05:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) With today CVS it should work without any problems. Are you sure that you made clean Harbour build before you make the tests? Few minutes ago I compiled httpsrv in my Linux box in four versions (native linux binaries with and without hb_inet* and windows MinGW binaries with and without hb_inet*) and tested them (Windows binaries executed using WINE). All of them work as expected and I cannot replicate your problem. Above suggests for me that for some reasons you may not use cleanly compiled Harbour code. Maybe it's a problem with hbmk2 paths so some old libraries are used or sth like that (i.e. old harbour.dll in shared build)? > The other hrb tests don't work. They work for me. > I'm sure about hb_inet() version respect to previous, the other one I > tested quickly but I'm not sure about results because is the new one copied > from uhttpd2 that is a bit different from previous that gave me some > errors. > Now, to be sure, I have to re-add to current SVN outdebug lines and see > what I receive as data. > Give me 30 minutes and I will try again. Please be sure that you recompiled whole Harbour code. httpsrv seems to work correctly for me. best regards, Przemek _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour