Eric LAZO
72b12132d4
Merge remote-tracking branch 'origin/master' into eric_config_parser
2022-08-17 19:46:02 +02:00
Eric LAZO
da5d1f38b0
merging
2022-08-17 19:45:37 +02:00
Hugo LAMY
875810c992
merge hugo5 with script cgi tests
2022-08-17 18:26:06 +02:00
Hugo LAMY
c6ebb95dc5
added script download test
2022-08-17 18:21:55 +02:00
Eric LAZO
4fdbb1e0eb
conclusion, no real php cgi
2022-08-17 17:59:53 +02:00
Eric LAZO
b45ed52a2a
pulling more
2022-08-17 16:18:37 +02:00
Me
1a99c6cc84
merging small fixes andmore telnet tests
2022-08-17 02:51:32 +02:00
lperrey
9f3903d497
Fixed, close() forgottens fds after fork
...
+ minors changes
+ Super new epoll loop output :)
2022-08-17 01:49:31 +02:00
lperrey
ccc542f52b
Fixed big problem with CGI handling
...
+ remains somes minors problems
2022-08-17 01:11:20 +02:00
Eric LAZO
19a9d3b464
more telnet tests
2022-08-16 23:54:30 +02:00
lperrey
4dc70373f8
debug message
2022-08-16 20:58:48 +02:00
Eric LAZO
1b7d388231
a few small fixes here and there, more telnet tests, starting Siege load testing
2022-08-16 20:41:57 +02:00
Hugo LAMY
517f5dfc8a
script test sleep input by user
2022-08-16 20:28:40 +02:00
lperrey
2c6bc096cc
WIP CGI monitered by epoll
...
+ OK, but some errors case need to be lookup
2022-08-16 18:38:58 +02:00
Hugo LAMY
5c5f298493
tmp clean of debug messages
2022-08-16 18:37:02 +02:00
Hugo LAMY
1ed4128afc
more script tests
...
+ add cgi checks for error in script output
+ fix script_path relative to absolute
+ cgi makefile more efficient
2022-08-16 18:24:49 +02:00
LuckyLaszlo
ff443c80b1
_exec_script() close fd and reset signal
...
+ somes more adjustements in _exec_script()
+ rough notes for non blocking CGI
2022-08-16 06:50:20 +02:00
LuckyLaszlo
4602844f5a
Multiples minors changes (cgi env, comment, ...)
2022-08-16 04:00:33 +02:00
Hugo LAMY
2a1aec8f1d
cgi scrip with 10 tests
...
+ if http error status, script output not appended to respons
2022-08-16 02:06:26 +02:00
Hugo LAMY
4a0c0ee238
Merge branch 'master' of bitbucket.org:LuckyLaszlo/webserv
2022-08-16 02:04:57 +02:00
lperrey
5627b6d1a2
fixed last commit mistake
...
+ renamed cgi_script.cpp
2022-08-16 02:04:35 +02:00
Hugo LAMY
5e403fc71c
Merge branch 'hugo5'
2022-08-16 01:46:52 +02:00
lperrey
f8c6923c6d
fixed CGI alloc
...
+ handle unknow status from script
2022-08-16 01:46:24 +02:00
Hugo LAMY
8c2aff6c6b
modif and added several scipts for testing cgi
...
+ modif html page for script tests
+ script output not added to response in case of http error
2022-08-16 01:39:46 +02:00
Eric LAZO
e691c517e8
Merge branch 'master' of bitbucket.org:LuckyLaszlo/webserv
2022-08-16 00:26:55 +02:00
Eric LAZO
973388bf97
Tester is much better, ready for tests to be added
2022-08-16 00:26:28 +02:00
lperrey
48af92b3bc
fixed _error_html_response()
...
+ renamed eval_file_mode() in eval_file_access()
+ memo update
2022-08-15 22:12:55 +02:00
Hugo LAMY
c05536ca01
hugo merge and clean some debug messages
2022-08-15 21:21:40 +02:00
Hugo LAMY
008b2a635f
Merge branch 'hugo5'
2022-08-15 21:18:06 +02:00
Eric LAZO
54b6d1f6d6
not much
2022-08-15 20:47:13 +02:00
Eric LAZO
c9c8946e70
merge, the whole thing is cleaner
2022-08-15 19:54:26 +02:00
Eric LAZO
19da59ecf8
cleaned things up
2022-08-15 19:40:21 +02:00
LuckyLaszlo
fe89be65f6
Tested and fixed server_name resolution
2022-08-15 19:31:43 +02:00
hugogogo
1c13e254d5
basic cgi script test working
2022-08-15 18:26:41 +02:00
LuckyLaszlo
3fe37ea451
DELETE method tested and fixed
...
+ added 404 for directories without index and autoindex
+ minors adjustements
2022-08-15 18:16:11 +02:00
hugogogo
6ad6ec7d63
wip cgi ouptput
2022-08-15 16:18:47 +02:00
hugogogo
036256522a
makefile for cgi_scripts
2022-08-15 15:28:19 +02:00
lperrey
a284e400c1
changed client_body_limit (now in KB)
...
+ multiples little adjusts
2022-08-15 02:14:27 +02:00
Hugo LAMY
9ac84f706d
fix error in check scrip output length
2022-08-15 02:07:06 +02:00
Hugo LAMY
b9d4317f51
in _is_cgi, fix error in return http error status
...
+ fix error in checking script output : reverse order between calcul of content_length and erasing empty line
2022-08-15 01:52:36 +02:00
Eric LAZO
aa03880601
still working on telnet tester
2022-08-15 01:47:37 +02:00
Hugo LAMY
a6bfea3b56
Merge branch 'hugo4'
2022-08-15 00:32:47 +02:00
Hugo LAMY
f6f63931ad
litle fix in utils trim
...
+ added 2 functions to check script output
+ created a html page with 4 forms for tests
+ created 2 cpp forms, with and without creating header content-length
2022-08-15 00:24:08 +02:00
Eric LAZO
8000668b36
Merge branch 'eric_config_parser'
2022-08-14 21:42:08 +02:00
Eric LAZO
21efbef86a
better telnet tester, merging
2022-08-14 21:41:46 +02:00
Eric LAZO
076f46fb85
.gitignore
2022-08-14 21:29:20 +02:00
Eric LAZO
683dbadb91
better telnet tester
2022-08-14 21:26:57 +02:00
LuckyLaszlo
8d4961c9b5
memo.txt update
2022-08-14 17:53:29 +02:00
Hugo LAMY
d663a4c7e6
added debug print
2022-08-14 16:17:24 +02:00
LuckyLaszlo
37c5be9ffc
Merge branch 'master' of bitbucket.org:LuckyLaszlo/webserv
2022-08-14 06:32:07 +02:00