-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTODO.txt
executable file
·73 lines (67 loc) · 3.21 KB
/
TODO.txt
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
_______ _______ ______ _______
| || || | | |
|_ _|| _ || _ || _ |
| | | | | || | | || | | |
| | | |_| || |_| || |_| |
| | | || || |
|___| |_______||______| |_______|
in no particular order (unless specified)
BACK END
- logging
- implement server log so errors starting can be diagnosed
- log server requests
- lets just get some file logs in here
- make everything overall more expressive, without spamming everything to
the console
- runtime
- add option to have server run in background
- possibly create worker threads to handle extra requests
- requests
- there should be harder vetting for what is considered a "good request"
- we only check the first line but not really any body of the request
- we should look harder into what can be added to the content of a request
and how to server it better to what is requested
- response
- add option for page redirects
- add mutiple domain name support
- this also means extra domain folder support
- (this will entail actually looking at content of requests)
- add folder configs
- auto configure what is the index, error page things like that
- add customizable error pages,
- overall add more customization to what pages are served in response
to an error
- we currently can only respond to one request at a time, add worker threads
to respond to many requests at a time
- set a thread cap of some number (probably 50)
- take a request and send it to a thread, only pause on a request
if there are no threads left to work on it
- each thread will take a string of the content and then the socket
that its connected on, we might have to open more sockets to begin
with since one socket can only have one connection
- command line
- what we have right now feels really messy, i think we should phase out
almost all together interaction via command line and transition to file
configs only
- when you are running a server you want it to be run and go, there
shouldn't be a bunch of hasstle with it on the command line
- code style
- error handling should be more consistent, right now in net handler
there is a mix between return amounts and throwing errors, we should
try to move completely to one or at least set guidelines of what to
use where
FRONT END
- squre stretches correctly moving from left to right, but not right to left
- start production of ball sketches
- ya boi has to start drawing
TESTING
- Add unit tests!
- right now, google test seems promising (https://github.com/google/googletest),
but we are going to look around a bit more before settling on a framework
- we have a script to stress test from a local computer with only one stream
of requests, this script should be run from several seperate computers
at the same time
- create a script that makes slightly more... *random* requests
- cough cough spit straight garbage at the server
- I only know so many ways to exploit a server, ask someone else to take a look
at it