HTTP Server 5.1.0
HTTP server refactoring making the HTTP server use less resources (threads and memory).
New HTTP server thread pool. The maximum number of threads and threads keeping open, or "Keep-Alive"
connections can be tuned via two new system properties: org.knopflerfish.http.threads.max
and org.knopflerfish.http.threads.keep_alive
HTTP server supports and uses chunked transfer encoding by default
Minor corrections to be more HTTP/1.1 conformant. E.g. not sending "Connection: Keep-Alive" to
an HTTP/1.1 client, but rather only sending "Connection: close" when actually closing the connection
Support for automatic compressing of content. This is controlled via the property:
org.knopflerfish.http.always_compress.mime_types
. Content with a mime type specified by this
comma separated list will always be compressed by the container.
Specifying just the type and leaving out the subtype will apply compression to all subtypes.
E.g. "text" will apply compression to text/html, text/plain etc. "text" is the default value.
HTTP Server 5.0.0
Improved the configuration handling the first time a CM
configuration is received to avoid unnecessary reconfigurations of
the built-in default setings. This could lead to a server socket
close followed by new listen on the same port.
CM meta-data is updated to include previously undocumented configuration parameters.
Build files
The Android build system has been updated. Built Android/DEX bundles
will be placed in the "dex_jars" directory. The Android/DEX framework
will be called "framework.dex.jar".
Building dex jars is enabled by setting the property "ANDROID_HOME".
Already built bundles can be dexified by calling the ant target "dex_jars".
The build files under "tools/android" has been updated to use the new build environment.
*.xargs files
Updated according to new start-level behaviour.
bndtools
Changed the download URL for bnd and bndtools artifacts to the bndtools repo on github