summaryrefslogtreecommitdiffstats
path: root/TODO
blob: fe2094ae02c1ca09cf48bd2cf8b16dd5c8383078 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
* Features

 - Validate config on startup
 - Validate config on -t (hook test_config)

* Syntax evolution

 - %{HTTP:Host[1]} to get the second header Host: 
   If there is multiple same headers, r->headers_in look like
   "www.google.fr, google.fr"
 
 - %{ENV:DOMAIN:-default} to user return "default" if DOMAIN is
   empty or don't exist

 - %{ENV:DOMAIN:+override} to user return "override" if DOMAIN is
   not empty

 - %{HTTP:X-Forwarded-For[2]:-0.0.0.0}

* Code

 - flatify all the argv before calling the handler
 - Rename command_table functions to cmd_*
 - Review functions names

 - Log with ap_ funcs
   - ap_log_cerror
 - Use memory pool
 - Use more of apr API