Commit Graph

202 Commits

Author SHA1 Message Date
Talyx
f7f1793722 fix: cgi exe 2022-02-15 20:49:09 +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
Talyx
0aeb7b7999 update: split host and port 2022-02-09 17:17:09 +03:00
Talyx
f893df15fd update: func for find location 2022-02-09 17:16:19 +03:00
Talyx
f1b2b04119 add: cgi_pass in config file 2022-02-09 17:15:46 +03:00
Talyx
9f3076bc53 update: Autoindex class 2022-02-09 17:15:01 +03:00
Talyx
58e8e1d061 update: server config 2022-02-09 17:14:42 +03:00
Talyx
8f38374c2c fix: find full URI 2022-02-08 23:03:23 +03:00
3lswear
0c13c02344 misc 2022-02-08 22:08:52 +03:00
3lswear
30921c41fd Merge remote-tracking branch 'origin/fara' into roman 2022-02-08 21:56:55 +03:00
3lswear
0a791b2303 feat: pass servers ip, port to client 2022-02-08 21:48:09 +03:00
3lswear
60a354d8a6 feat(core): open sockets on multiple servers from configurations 2022-02-08 21:13:10 +03:00
3lswear
a4b5037cb1 feat(socket): add min_config struct 2022-02-08 21:09:21 +03:00
Talyx
ce3a4d1a5b add : chunked 2022-02-08 18:57:59 +03:00
3lswear
adf57cd03f tmp: multiple server_sockets wip 2022-02-08 00:16:14 +03:00
Talyx
a056a923e0 add: download files 2022-02-07 22:43:14 +03:00