making requests to something like example.com over a non-encrypted
connection now works. Binary files are unlikely to work at the moment
although I haven't tried. Also, non-encrypted doesn't work.
I have also changed a little about how tests work. Requests tests now
display much better.
When the proxy is requested directly (without an host to pass the
request to), we want to respond with something.
In burp, you can download the certificate from here. In time, I'd like
this to do the same.
I'd also like the proxy server to be interacted with via an API - this
webserver will eventually deal with that as well although that is a
little way off.
I have started writing tests for the config functions. This has resulted
in a few changes to the config code (tests working I guess)
I have also added a special "all" config file which (as the name
suggests) runs all test suites
In the makefile I have added the compiled test files to the clean target
and added targets for building and running tests
I have done some work on opening a socket and waiting for a connection.
This can be read line by line and I have started a request struct that
it will accept.
Also started on some docs. Not much is yet working. I am going to start
learning µnit for unit tests:
https://nemequ.github.io/munit/