Habari Web Components 2.1 released

December 8, 2012 – Habarisoft released version 2.1 of the Habari Web Components framework for Delphi and Free Pascal.

What’s new in version 2.1?


  • HTTP keep-alive: to increase performance and stability, TdjHTTPServer sets KeepAlive to True to enable HTTP 1.1 keep-alive
  • Logging: TdjHTTPServer DoMaxConnections writes a log message with level “warn” when the Indy HTTP server rejects a new connection
  • DefaultHandler: the unit tests include test cases for the TdjDefaultHandler class
  • LoggingHelper: the demo applications use the new LoggingHelper unit for logger initialization and configuration (replacing djServerHelper)
  • ShutdownHelper: on Windows, the demo applications use the new ShutdownHelper unit to register a console control key handler
  • WebSocket: an WebSocket client and server implementation has been added to the unit tests (source code is in the libraries/websocket folder), it has some limitations and should be seen as “experimental code” only


  • Free Pascal: TdjServer stops HTTP connectors in reverse startup order
  • Memory leak: TdjWebComponentHolder freed the web component after exception in initializer to prevent a leak (in release 2.0.1)


  • TdjDefaultHandler: the default handler checks if the ResponseCode is still -1 (was 404)
  • doxygen: updated to 1.8.2
  • Indy: tested with Indy 10.5.9 r 4877
  • Cleanup: removed unused code (Filter interface and classes, VisualMM)
  • Support: tagged TdjStatisticsHandler class as unsupported demonstration code
  • Bootstrap: the Bootstrap framework used in demo application is upgraded to 2.2.1 (in release 2.0.3)
  • RTTI: the library no longer modifies extended the RTTI settings of the project (Delphi 2010 and newer) – in release 2.0.2
  • Exceptions: improved exception handling for component initialization and lifecycles (in release 2.0.1)

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s