YAIP/tests
Jonathan Hodgson bb62ed3b1f Starts work on https as well as some moving about
I now start the listener in the main.c file rather than proxy given that
I didn't feel proxy was the right place if a normal (non-proxied)
request came in. webserver.{c,h} and proxy.{c,h} had some changes
relating to this.

The config changed slightly - we now create a folder in ~/.config/
called yaip. This is where certificates and so on will be stored along
with the user configuration

I created a helper function to get files inside this directory (it
changes based on xdg_config_home) and updated relevant tests.

In ssl.{c,h} I have started work. If they don't exist, the tool now
creates and stores a key and certificate for the CA that this tool will
need to pretend to be. I still need to write tests for this.
2022-01-20 16:53:35 +00:00
..
munit@fbbdf1467e Adds µnit submodule for tests 2021-12-27 21:46:47 +00:00
all.test.c Now working for simple, non-encrypted requests 2022-01-18 21:45:58 +00:00
config.test.c Starts work on https as well as some moving about 2022-01-20 16:53:35 +00:00
request.test.c Starts work on https as well as some moving about 2022-01-20 16:53:35 +00:00
requestresponse.test.c Moves some logic out of proxy and into main 2022-01-19 12:56:11 +00:00
response.test.c Moves some logic out of proxy and into main 2022-01-19 12:56:11 +00:00
util.test.c Now working for simple, non-encrypted requests 2022-01-18 21:45:58 +00:00