Friday, February 16, 2007

Actual working version now posted

The code submitted previously (especially the archive) did not compile on Linux, only OS X. Several bugs including this have now been fixed. Other fixes include memory leaks and a minor error in the configuration parsing. There was a bit trouble with subversion this time around.

Download via svn or archive. To compile and run the demonstration:

./configure
make
cd src
./nhttpd

This will run a web server using the configuration in src/config.xml. To see the demo application, go to http://localhost:8080/.

Thursday, February 15, 2007

Big update

Submitted to SVN today a HUGE update. The demo app works out of the box (it just formats the incoming request into a table, nothing special).

Major Features Added:
  • Privilege separation
  • Better threading
  • Blocking queues
  • XML Configuration, with all options implemented
  • Now using GNU Autotools
The demo app works, but there's still lots of bugfixing to do. In particular, both the thread pools and the blocking queues need to be looked at. Privilege separation is implemented but not tested. Many functions are still not implemented (including the ServletContext and NHFile).

I wanted to make sure the server was working before making another commit, thus the long interval.