Commit Graph

  • f7b31c7db7 added semaphore and shared memory to print without superposition between parent and child process segfolt hugogogo 2022-08-22 14:52:31 +02:00
  • 5225e3258b lots of log message and fixed bad_file_descriptor issue hugogogo 2022-08-22 01:50:28 +02:00
  • 469eca8aa9 clean comment and stuff lperrey 2022-08-18 12:44:09 +02:00
  • 9b0fcc1520 littles adjustements but still no solution to the main problem lperrey 2022-08-18 10:48:57 +02:00
  • dda0103fb8 clean wip in form_cgi Hugo LAMY 2022-08-18 08:35:43 +02:00
  • 3d17db996a Debug in progress, somes fix but not the main problem lperrey 2022-08-18 06:03:09 +02:00
  • a008c12058 more kermit added lperrey 2022-08-18 00:21:01 +02:00
  • 6694ffeb66 Merge branch 'master' of bitbucket.org:LuckyLaszlo/webserv Eric LAZO 2022-08-18 00:19:31 +02:00
  • 3530595b01 clean up config Eric LAZO 2022-08-18 00:19:23 +02:00
  • b34e49311b body write to CGI now monitored by epoll + kermit.jpg :) lperrey 2022-08-17 23:42:12 +02:00
  • 2613ca2e1a little delete fix in main.cpp lperrey 2022-08-17 20:55:58 +02:00
  • e537e9bb78 Merge remote-tracking branch 'origin/master' into eric_config_parser Eric LAZO 2022-08-17 20:46:05 +02:00
  • 3763249a3e baseline tests of Telnet Test are ready Eric LAZO 2022-08-17 20:44:17 +02:00
  • 366178303f Merge branch 'hugo5' Hugo LAMY 2022-08-17 20:42:09 +02:00
  • df24de46c7 works on download script hugo5 Hugo LAMY 2022-08-17 20:41:22 +02:00
  • 72b12132d4 Merge remote-tracking branch 'origin/master' into eric_config_parser master Eric LAZO 2022-08-17 19:46:02 +02:00
  • da5d1f38b0 merging Eric LAZO 2022-08-17 19:45:37 +02:00
  • 875810c992 merge hugo5 with script cgi tests Hugo LAMY 2022-08-17 18:26:06 +02:00
  • c6ebb95dc5 added script download test Hugo LAMY 2022-08-17 18:21:55 +02:00
  • 4fdbb1e0eb conclusion, no real php cgi Eric LAZO 2022-08-17 17:59:53 +02:00
  • b45ed52a2a pulling more Eric LAZO 2022-08-17 16:18:37 +02:00
  • 1a99c6cc84 merging small fixes andmore telnet tests Me 2022-08-17 02:51:32 +02:00
  • 9f3903d497 Fixed, close() forgottens fds after fork + minors changes + Super new epoll loop output :) lperrey 2022-08-17 01:49:31 +02:00
  • ccc542f52b Fixed big problem with CGI handling + remains somes minors problems lperrey 2022-08-17 01:11:20 +02:00
  • 19a9d3b464 more telnet tests Eric LAZO 2022-08-16 23:54:30 +02:00
  • 4dc70373f8 debug message lperrey 2022-08-16 20:58:48 +02:00
  • 1b7d388231 a few small fixes here and there, more telnet tests, starting Siege load testing Eric LAZO 2022-08-16 20:41:57 +02:00
  • 517f5dfc8a script test sleep input by user Hugo LAMY 2022-08-16 20:28:40 +02:00
  • 2c6bc096cc WIP CGI monitered by epoll + OK, but some errors case need to be lookup lperrey 2022-08-16 18:38:58 +02:00
  • 5c5f298493 tmp clean of debug messages Hugo LAMY 2022-08-16 18:37:02 +02:00
  • 1ed4128afc more script tests + add cgi checks for error in script output + fix script_path relative to absolute + cgi makefile more efficient Hugo LAMY 2022-08-16 18:24:49 +02:00
  • ff443c80b1 _exec_script() close fd and reset signal + somes more adjustements in _exec_script() + rough notes for non blocking CGI LuckyLaszlo 2022-08-16 06:50:20 +02:00
  • 4602844f5a Multiples minors changes (cgi env, comment, ...) LuckyLaszlo 2022-08-16 04:00:33 +02:00
  • 2a1aec8f1d cgi scrip with 10 tests + if http error status, script output not appended to respons Hugo LAMY 2022-08-16 02:06:26 +02:00
  • 4a0c0ee238 Merge branch 'master' of bitbucket.org:LuckyLaszlo/webserv Hugo LAMY 2022-08-16 02:04:57 +02:00
  • 5627b6d1a2 fixed last commit mistake + renamed cgi_script.cpp lperrey 2022-08-16 02:04:35 +02:00
  • 5e403fc71c Merge branch 'hugo5' Hugo LAMY 2022-08-16 01:46:52 +02:00
  • f8c6923c6d fixed CGI alloc + handle unknow status from script lperrey 2022-08-16 01:46:24 +02:00
  • 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 Hugo LAMY 2022-08-16 01:39:46 +02:00
  • e691c517e8 Merge branch 'master' of bitbucket.org:LuckyLaszlo/webserv Eric LAZO 2022-08-16 00:26:55 +02:00
  • 973388bf97 Tester is much better, ready for tests to be added Eric LAZO 2022-08-16 00:26:28 +02:00
  • 48af92b3bc fixed _error_html_response() + renamed eval_file_mode() in eval_file_access() + memo update lperrey 2022-08-15 22:12:55 +02:00
  • c05536ca01 hugo merge and clean some debug messages Hugo LAMY 2022-08-15 21:21:40 +02:00
  • 008b2a635f Merge branch 'hugo5' Hugo LAMY 2022-08-15 21:18:06 +02:00
  • 54b6d1f6d6 not much Eric LAZO 2022-08-15 20:47:13 +02:00
  • c9c8946e70 merge, the whole thing is cleaner Eric LAZO 2022-08-15 19:54:26 +02:00
  • 19da59ecf8 cleaned things up Eric LAZO 2022-08-15 19:40:21 +02:00
  • fe89be65f6 Tested and fixed server_name resolution LuckyLaszlo 2022-08-15 19:31:43 +02:00
  • 1c13e254d5 basic cgi script test working hugogogo 2022-08-15 18:26:41 +02:00
  • 3fe37ea451 DELETE method tested and fixed + added 404 for directories without index and autoindex + minors adjustements LuckyLaszlo 2022-08-15 18:16:11 +02:00
  • 6ad6ec7d63 wip cgi ouptput hugogogo 2022-08-15 16:18:47 +02:00
  • 036256522a makefile for cgi_scripts hugogogo 2022-08-15 15:28:19 +02:00
  • a284e400c1 changed client_body_limit (now in KB) + multiples little adjusts lperrey 2022-08-15 02:14:27 +02:00
  • 9ac84f706d fix error in check scrip output length Hugo LAMY 2022-08-15 02:07:06 +02:00
  • 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 Hugo LAMY 2022-08-15 01:52:36 +02:00
  • aa03880601 still working on telnet tester Eric LAZO 2022-08-15 01:47:37 +02:00
  • a6bfea3b56 Merge branch 'hugo4' Hugo LAMY 2022-08-15 00:32:47 +02:00
  • 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 hugo4 Hugo LAMY 2022-08-15 00:24:08 +02:00
  • 8000668b36 Merge branch 'eric_config_parser' Eric LAZO 2022-08-14 21:42:08 +02:00
  • 21efbef86a better telnet tester, merging Eric LAZO 2022-08-14 21:41:46 +02:00
  • 076f46fb85 .gitignore Eric LAZO 2022-08-14 21:29:20 +02:00
  • 683dbadb91 better telnet tester Eric LAZO 2022-08-14 21:26:57 +02:00
  • 8d4961c9b5 memo.txt update LuckyLaszlo 2022-08-14 17:53:29 +02:00
  • d663a4c7e6 added debug print Hugo LAMY 2022-08-14 16:17:24 +02:00
  • 37c5be9ffc Merge branch 'master' of bitbucket.org:LuckyLaszlo/webserv LuckyLaszlo 2022-08-14 06:32:07 +02:00
  • ce0a004d28 Le merge / 20 LuckyLaszlo 2022-08-14 06:30:27 +02:00
  • 84babec82b added multipart upload file, it works, but need some adjustements, refactoring and testing LuckyLaszlo 2022-08-14 06:25:06 +02:00
  • ddafa229c6 something done to the telnet tester Me 2022-08-14 03:49:29 +02:00
  • be499328f6 fixed error in is_cgi, path was missing dot Hugo LAMY 2022-08-14 01:17:55 +02:00
  • 41db4fc12b Merge branch 'hugo4' Hugo LAMY 2022-08-14 01:10:01 +02:00
  • a20a5eff27 Merge branch 'master' of bitbucket.org:LuckyLaszlo/webserv Hugo LAMY 2022-08-14 01:09:25 +02:00
  • db4c7468cc is_cgi function is back and is working + in utils added function eval_file_mode(), it returns http errors codes about file Hugo LAMY 2022-08-14 01:05:20 +02:00
  • dda32c759a decent start to bash tester Eric LAZO 2022-08-13 22:38:31 +02:00
  • b0949615c8 fixed mistake in _read_request() + changes to some log output LuckyLaszlo 2022-08-13 19:17:32 +02:00
  • 285f2d049f + in fill_script_path() : scipt_path and script_info are filled, removing leadin dot + in _cgi_pos() : check validity of extension if it's only alpha characters + severall pbm appears hugogogo 2022-08-13 14:38:50 +02:00
  • defb2ada61 fixed pbm in extract_line : delete the line and the newline sequence character + fixed pbm n _cgi_pos : last return is npos, not pos hugogogo 2022-08-13 12:39:05 +02:00
  • ebd0fda52c more mucking about with telnet Me 2022-08-13 05:57:50 +02:00
  • c3240b8618 i found a mistake but still doesn't work... Me 2022-08-13 03:52:33 +02:00
  • 3495ff19a8 mucked about with Telnet Me 2022-08-13 03:01:41 +02:00
  • 058701f657 upload_form.html + need to add multipart/form-data parsing LuckyLaszlo 2022-08-13 01:15:59 +02:00
  • a69273b88e fixed an autoindex issue, working on uploading files Me 2022-08-12 23:45:13 +02:00
  • f17bc9fa58 wip test path cgi : - _cgi_pos seems to be ok - construct url from return is not implemented yet + renamed script with extension .php and .cpp hugogogo 2022-08-12 23:31:59 +02:00
  • 4d395088d0 trying to get submit form to work... Eric LAZO 2022-08-12 20:08:49 +02:00
  • c7bbf29a1b NPOS macro LuckyLaszlo 2022-08-12 18:16:49 +02:00
  • b44acafefe CGI discussion and a little bit of work done LuckyLaszlo 2022-08-12 18:08:39 +02:00
  • cade79c37f started non hardcoded cgi call Me 2022-08-12 16:20:50 +02:00
  • 52824f30bd merged and added colors to makefile Eric LAZO 2022-08-12 15:24:10 +02:00
  • 2a70c6b26d Merge branch 'hugo3' hugogogo 2022-08-12 14:05:11 +02:00
  • 71c07140e2 added text inside youpibanane files hugo3 hugogogo 2022-08-12 12:08:56 +02:00
  • de09c2357c php newline pbm resolved hugogogo 2022-08-12 12:00:20 +02:00
  • c225063361 script output fields is checked for duplicate hugogogo 2022-08-12 11:45:06 +02:00
  • 400efbe720 Wip chunked decoding + Need to test normal body parsing + path_is_valid() renamed eval_file_type() + replaced atoi with strtol/strtoul LuckyLaszlo 2022-08-12 05:50:00 +02:00
  • f7c0ff1a8a clean up Me 2022-08-12 04:38:07 +02:00
  • 3a58b5d921 wip debug comparison fields output script hugogogo 2022-08-11 19:42:09 +02:00
  • a1fff0f8c2 added colors, for print_special + renamed client's public function parse_request() into parse_request_headers() hugogogo 2022-08-11 17:46:27 +02:00
  • ad2b5a629a correct extract_line to avoid duplicate with erase or substr, and to resolve pbm of returning trailing delim hugogogo 2022-08-11 17:33:42 +02:00
  • ff77dfd298 debug new request parsing hugogogo 2022-08-11 14:50:56 +02:00
  • ab0bc2c4c0 added timeout response (status 408) + added EPOLLERR and EPOLLHUP handling + fix root substitution for default "/" location (temp or permanent ?) + tested siege a little, seems good LuckyLaszlo 2022-08-11 07:12:13 +02:00
  • 08f6929db9 fixed autoindex Me 2022-08-11 02:15:40 +02:00
  • c32fc2c8a2 I really hope this is the last time we fix Location Picker, i think it's good it's pretty elegant, basically set root and location path to never have / at end and that made things easier Me 2022-08-11 02:01:24 +02:00