summaryrefslogtreecommitdiffstats
path: root/TODO
blob: d25610e0eb4ade2c5ea237c5ded5458b7f9ee01c (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
31
* Features

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

* 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 and not NULL systematically

 - %{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