-
Notifications
You must be signed in to change notification settings - Fork 0
/
TODO
37 lines (29 loc) · 1.31 KB
/
TODO
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
32
33
34
35
36
37
TODO list for WBox
== HTTP CLIENT MODE ==
High priority
. $HOME/.wboxrc
. Computer parsable output "type:reply|len:3234|time:3424|code:200..."
. Setting arbitrary header via "Headername: value"
Low priority
. Ability to follow links can be interesting, for example to generate a map
of the site, check for broken links, and so on.
. "color" option to use terminal colors to make the output more readable
. Select segment size in timesplit mode.
. POST method
. Get urls from file, using the special url file:/tmp/filename.txt
and "randomize" option to request a different URL (from file:...)
for every request.
== HTTP SERVER MODE ==
High priority
. Handle zero length (/proc filesystem is a good example) files
. Handle clients in timeout
Low priority
. Ability to "bind" commands to specific urls. For example using something
like 'wbox servermode /tmp/foobar bindurl /uptime uptime" should show
the uptime command output accessing http://127.0.0.1:8081/uptime.
Multiple binds should be possible at the same time.
. A special 'servertest' mode implementing a select(2) or pthread based
server with minimal overhead serving a static page (the user should
be able to set the length of the generated page). This mode should be
useful in order to benchmark a server theoretical limits serving
pages of the given size.