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)?
I had similar problems on darwin until I did a full rebuild.
Brgds,
Viktor
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour