HTTP server from scratch: Configuration
This post is the conclusion of HTTP server from scratch. Previous post about modularization can be found here. In this post we will make our webserver somewhat more configurable. We will add one more switch to the server.properties to point to a external directory that will be used to serve the documents from. Since it is a good idea to support compression of the documents that we send, we will add support to gzip compression and finally, we will update our build configuration to generate a property distribution. ...