prx
9d23a48ae2
remove useless functions
2022-08-18 22:23:59 +02:00
prx
75bfaee73e
remove useless function && reorder declarations
2022-08-18 14:34:04 +02:00
prx
63616a97fc
remove unused function
2022-08-18 14:00:51 +02:00
prx
27549119ef
simplify and fix redirections after regex
2022-08-18 13:59:54 +02:00
prx
e3932483ef
remove unused parameter
2022-08-18 11:06:37 +02:00
prx
f8d215869d
remove unused function
2022-08-18 11:05:56 +02:00
prx
e2567fcf01
modify function to set path according to virtualhost
2022-08-18 11:05:21 +02:00
prx
b18f3a3c7b
rename function
2022-08-18 10:58:38 +02:00
prx
504dd3f759
rename check_request to read_request
2022-08-18 10:54:13 +02:00
prx
f388d2a57a
improve regex to handle :1234 in url
2022-08-18 10:53:08 +02:00
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
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