Files
harbour-core/harbour/contrib/examples/uhttpd
Przemyslaw Czerpak 016078ef85 2009-03-09 00:19 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbthread.h
  * harbour/source/vm/thread.c
    * emulate POSIX thread conditional variables in Windows builds.
      It should fix some possible bad behavior in MS-Windows Harbour
      MT programs.

  * harbour/source/rtl/hbinet.c
    ! fixed typo in HB_INETDATAREADY() - the second parameter (timeout)
      was ignored.

  * harbour/contrib/examples/uhttpd/uhttpdc.c
    * fixed typo in conditional iMsec usage.

  * harbour/contrib/examples/uhttpd/uhttpd.prg
    * set default timeout for socket operations to 3 sec.
    * use timeout parameter in HB_INETDATAREADY() and
      increased default timeout for accept to 250 millisecs.
      Please correct this modification if you prefer different values.
2009-03-08 23:15:18 +00:00
..

/*
 * $Id$
 */

uHTTPD micro web server

Build it without GD: ..\..\..\bin\hbmk uhttpd.hbm
Build it with    GD: ..\..\..\bin\hbmk uhttpdgd.hbm
  [ This one needs bgd.dll. Please download it from:
  http://www.libgd.org/releases/gd-latest-win32.zip ]

Add -DUSE_HB_INET to command line if you want to use Harbour's
built-in socket functions.

To see accepted parameters run: uhttpd -?
Parameters can also be defined using uhttpd.ini file.

Before starting please build modules in modules folder using bldhrb.bat

Once started connect to uhttpd using:
http://localhost:8082
to see default index page.

Francesco