Pierre Ossman
3a1c46ff75
Explicitly mark unused parameters
This allows us to separate accidentally unused, from explicitly unused
parameters, which allows us to turn on such checks in the compiler.
pirms 1 gada
Catherine Tower
645c1f2aea
Ignore whitespace around components of host-and-port specification
This is to make the code more tolerant of typos when entering a hostname
pirms 1 gada
Pierre Ossman
b6d6db9b7c
Be consistent in including config.h
The generally recommended way is to include it from source files, not
headers. We had a mix of both. Let's try to be consistent and follow the
recommended way.
pirms 2 gadiem
Pierre Ossman
94de4dd0c4
Split test programs to benchmarking and unit tests
They have very different purpose, so make things easier to work
with by having multiple directories.
pirms 4 gadiem
Pierre Ossman
d175da7189
Add unit tests for getHostAndPort()
pirms 7 gadiem