316 Commits

Author SHA1 Message Date
3lswear
e9dc59ca98 refactor: some clean-ups 2022-02-19 18:43:40 +03:00
Talyx
843ffc91ee add : upload dir 2022-02-19 16:55:18 +03:00
3lswear
05413833ea fix: invalid syntax 2022-02-19 13:54:42 +03:00
3lswear
a50ce4777d refactor: rm clean_funcs from server class 2022-02-19 13:52:33 +03:00
3lswear
0073b29d0c feat: add CGI headers path 2022-02-19 13:51:44 +03:00
3lswear
cd87725f38 refactor: move out clean_parsed funcs to config:: 2022-02-19 13:51:20 +03:00
Talyx
cf6f356cef add: sig handler 2022-02-18 20:23:01 +03:00
Talyx
1519914e97 fix: leak in Response class 2022-02-18 18:12:01 +03:00
Talyx
28c86e5e43 add: memory optimization 2022-02-17 21:15:53 +03:00
Talyx
3c5f61e08e fix: alg config valid 2022-02-17 21:13:55 +03:00
Talyx
87bc1cfc70 fix: eof tester 2022-02-17 19:44:12 +03:00
Talyx
e97df9c137 add: config validity check 2022-02-16 00:18:25 +03:00
Talyx
5a03f111ec fix: segv 2022-02-16 00:16:16 +03:00
Talyx
f7f1793722 fix: cgi exe 2022-02-15 20:49:09 +03:00
3lswear
f719502237 tmp improvements 2022-02-15 07:33:57 +03:00
Talyx
c21aae0b1d Merge remote-tracking branch 'origin/parser' into fara 2022-02-14 21:08:19 +03:00
Talyx
b1a1404863 add: url decode, and change client_body_size var to ssize_t 2022-02-14 17:34:01 +03:00
3lswear
eaaa126e97 feat: catch exceptions in readConfig 2022-02-13 22:45:56 +03:00
3lswear
a230ca2639 tmp: don't start server 2022-02-13 22:43:19 +03:00
3lswear
9d5c0f79e8 feat(parser): add exceptions 2022-02-13 22:39:58 +03:00
3lswear
4be3ba3f9d feat: change to exception 2022-02-13 22:38:58 +03:00
3lswear
e15ba8b041 refactor: change NoMoreTokens message 2022-02-13 22:31:14 +03:00
3lswear
15ae2b131f feat: detect invalid tokens 2022-02-12 20:20:09 +03:00
3lswear
6b244dc57f fix: catch only InvalidToken 2022-02-12 20:19:46 +03:00
Talyx
cec4ae69e1 change: location alg 2022-02-12 18:57:07 +03:00
3lswear
3a5879eb4d feat(tokenizer): add exceptions 2022-02-12 18:55:13 +03:00
3lswear
7df10265e0 feat: add comment handling 2022-02-12 17:53:10 +03:00
3lswear
3f3d25d9c7 feat: skip newlines 2022-02-12 02:13:00 +03:00
3lswear
783b4061c0 feat: newline stuff 2022-02-12 01:43:38 +03:00
3lswear
29ae04e40d feat(parser): get config file from arg 2022-02-12 00:30:50 +03:00
3lswear
4c7712eac1 feat: real server names 2022-02-11 23:16:02 +03:00
3lswear
d084fc839e fix: crash on assert in string 2022-02-10 22:34:23 +03:00
Talyx
e1d654b50b misc 2022-02-10 22:14:04 +03:00
Talyx
e7373ce4e9 add: limit from body size 2022-02-10 22:13:38 +03:00
Talyx
b178c3c8bf ServerConfig: replace return(1) to continue; 2022-02-10 22:12:50 +03:00
Talyx
bbc1fa132e change: config setting 2022-02-10 22:10:24 +03:00
Talyx
7df7a3d802 add: php script 2022-02-10 22:10:03 +03:00
Talyx
a88d9c25a4 misc 2022-02-10 19:29:25 +03:00
Talyx
abff8b474f add: client body limit in locations 2022-02-10 19:28:20 +03:00
Talyx
586ada6f15 add: CgiHandle class 2022-02-10 19:27:45 +03:00
Talyx
9b3b3bebca fix: linux tester 2022-02-10 00:36:34 +03:00
Talyx
adbe832b98 Merge remote-tracking branch 'origin/roman' into fara 2022-02-09 23:00:52 +03:00
3lswear
608c3e6e6a add tester binary 2022-02-09 22:59:43 +03:00
Talyx
0e9e412985 add: cgi (!full) 2022-02-09 22:59:29 +03:00
3lswear
d1210fcbf0 for tester 2022-02-09 22:59:19 +03:00
3lswear
f7783460e3 feat: try to fix tester 2022-02-09 22:58:43 +03:00
Talyx
0103dc97dd add: PUT method 2022-02-09 18:48:12 +03:00
Talyx
cb50c16afc change: file location2 2022-02-09 18:18:38 +03:00
Talyx
83623245d7 change: file location 2022-02-09 18:14:41 +03:00
Talyx
a00493fd04 add: Redirect 2022-02-09 17:18:36 +03:00