Convert the project to use Boost ASIO

Issue #10 new
Robert Massaioli repo owner created an issue

Boost asio will clean up a vast number of the inefficiencies in this code base. We could greatly benefit from using it. I propose that we refactor all of the HTTP and UDP code to use Boost ASIO.

This would also mean that we could use the boost mutex and thread libraries for great win.

Comments (3)

  1. Robert Massaioli reporter

    So it seems that the CHTTPRequestHandler does everything on the server. It really needs to be highly parallel and currently it seems that every accept is thrown into a new thread and that the server uses HTTP 1.0 to communicate. I would much prefer to use HTTP 1.1 as I believe it would be more efficient in this scenario.

  2. Robert Massaioli reporter

    The whole thing is designed as one big ball of mud and each and every request really needs to be separated into different classes. I have to think about how to separate it into different components properly.

  3. Log in to comment