Commit Graph

7 Commits

Author SHA1 Message Date
prx 5063f3e95b ensure errors msg are followed by \n, specify in a define the number of matches we need, remove bad structure init 2022-08-17 22:08:16 +02:00
prx be0f86df8d keep globals notation 2022-08-17 21:36:54 +02:00
prx 883bfed7a7 make tests easier to read 2022-08-17 21:34:37 +02:00
prx 26ca6c422d move regex to vger.h 2022-08-17 21:32:06 +02:00
prx 2b835bc39c import regex functions to parse request 2022-08-17 21:28:09 +02:00
prx f973351945 reformat as much as possible.
Now main() is much simpler.
Removed all goto.
Less variables in main.
Simplified status_ to status().
Use a stop() function to log, send messages to stderr if necessary and close vger.
Minor fixes with defaults, mimes
There is still work to do to compare path using stat().
2022-08-08 22:57:03 +02:00
Solene Rapenne 9cca2408c3 Separate vger functions into a new file
This will ease the creation of unit tests
and code reusability
2022-07-04 21:00:31 +02:00