hugogogo
|
76e7960ad7
|
deleted old request parsing functions
|
2022-08-01 20:35:42 +02:00 |
|
hugogogo
|
b1158fd33b
|
merged from master and relocate headers inside srcs
|
2022-08-01 20:33:06 +02:00 |
|
hugogogo
|
979a3d20b8
|
wip cgi handling, client contains it's own privates functions to handle request headers and body
|
2022-08-01 19:30:07 +02:00 |
|
Me
|
16af16084b
|
ok, so we added a lot more checks for the config file, and some post processing, still needs a few more things, but now some defaults are set too, basically it works under most circumstances
|
2022-08-01 00:49:25 +02:00 |
|
hugogogo
|
031932e887
|
added trim in utils, added parse request header, mv pdf in docs
|
2022-08-01 00:07:51 +02:00 |
|
Me
|
19f7493aac
|
Fixed the includes
|
2022-07-31 16:53:22 +02:00 |
|
Me
|
d4a001e8ba
|
resolved merge conflicts, now ConfigParser is even more intertwined with other parts
|
2022-07-31 16:30:14 +02:00 |
|
hugogogo
|
0d81c76e1a
|
Merge branch 'master' of bitbucket.org:LuckyLaszlo/webserv
|
2022-07-31 13:19:32 +02:00 |
|
hugogogo
|
537572e2d0
|
changed itoa to c++ style and put it in utils, and change utils dependencies to not depend on webserv
|
2022-07-31 13:19:22 +02:00 |
|
LuckyLaszlo
|
ea3f3a390a
|
bugfix invalid ptr in "ev.data.ptr" after vector<Client> resize/erase
+ persistent connections reintroduced
+ bugfix crash if invalid path in request
|
2022-07-31 13:19:11 +02:00 |
|
hugogogo
|
cbb1d12d54
|
modified itoa and its headers
|
2022-07-31 12:59:27 +02:00 |
|
hugogogo
|
af8dc072c1
|
added setsockopt to avoid reusability issue on socket fd
|
2022-07-31 12:31:55 +02:00 |
|
hugogogo
|
2a69e14db2
|
wip atoi
|
2022-07-31 12:30:35 +02:00 |
|
hugogogo
|
122032a140
|
merge master
|
2022-07-31 12:02:20 +02:00 |
|
hugogogo
|
5d0432188d
|
clean webserv includes
|
2022-07-31 11:45:59 +02:00 |
|
hugogogo
|
23844a0d55
|
clean webserv includes
|
2022-07-31 11:05:55 +02:00 |
|
Me
|
0cb49ffa5e
|
started adding more checks to the parser, some things settled, but mostly i have a lot more questions...
|
2022-07-31 04:20:04 +02:00 |
|
LuckyLaszlo
|
e5c2869172
|
Review parsing Eric and Luke.
Combined the config parser with Webserv class.
|
2022-07-31 00:27:48 +02:00 |
|
Me
|
2d91b704c3
|
I think i have successfully merged origin/master into eric_config_parser, seems fine
|
2022-07-30 21:36:16 +02:00 |
|
Me
|
665623c7ee
|
well i think i have the Config Parser working and pretty clean, there might be a few tweaks here and there but looks good, now to integrate it with Webserv
|
2022-07-30 21:08:21 +02:00 |
|
hugogogo
|
8381f804cd
|
merge luke works with separate files
|
2022-07-30 18:35:57 +02:00 |
|
Me
|
001ad6becf
|
Still trying to get it to compile
|
2022-07-29 23:29:19 +02:00 |
|
Me
|
3ff62f5ddc
|
The Config Parser looks a lot better, cleaner, made a lot of decisions and added i think everything to the apropriate header files, now working on testing but since new install of Ubuntu testing make on something i expect is working, the main branch, so brb
|
2022-07-29 22:17:10 +02:00 |
|
LuckyLaszlo
|
36868afa30
|
splitted Webserv.cpp
|
2022-07-29 17:16:26 +02:00 |
|
hugogogo
|
e132802a8d
|
wip parsing request
|
2022-07-29 16:48:37 +02:00 |
|
LuckyLaszlo
|
e5633a30e4
|
perror() message fix
+ created dir for next split of Webserv.cpp
|
2022-07-29 16:05:43 +02:00 |
|
LuckyLaszlo
|
ab8dfed779
|
basic HTTP GET response
|
2022-07-29 15:52:43 +02:00 |
|
hugogogo
|
06ff3a4ea9
|
added http headers to readme
|
2022-07-29 14:15:15 +02:00 |
|
hugogogo
|
035dbe804d
|
mv Client and Server in headers
|
2022-07-29 11:23:40 +02:00 |
|
hugogogo
|
1ec6f0b47e
|
merge master
|
2022-07-29 11:19:09 +02:00 |
|
hugogogo
|
a2c9f31e58
|
small changes in cgi tests
|
2022-07-29 10:43:11 +02:00 |
|
Me
|
846c478142
|
ok so it's still a little blocky, could prolly improve more, and i haven't compiled yet, no doubt many issues, but, i did my idea for a better config parser, and it went pretty well
|
2022-07-29 03:15:08 +02:00 |
|
Me
|
6265019d3e
|
a few good ideas as to how to better handle the config parsing
|
2022-07-28 18:07:16 +02:00 |
|
hugogogo
|
e6ec3fe97b
|
more tests on cgi
|
2022-07-28 17:27:03 +02:00 |
|
hugogogo
|
8477669e6f
|
adding first tests with cgi
|
2022-07-27 20:47:13 +02:00 |
|
Me
|
dfb8be3017
|
Merge remote-tracking branch 'origin/master' into eric_config_parser
I seem to have fixed the merge errors
|
2022-07-25 21:05:16 +02:00 |
|
Me
|
35ac55b5e8
|
still working on integrating the config file stuff
|
2022-07-25 21:00:04 +02:00 |
|
LuckyLaszlo
|
26dad07a87
|
SIGINT handling
+ bug with persistent connection, recv() try to read fd 0 (why?)
|
2022-07-25 07:40:41 +02:00 |
|
LuckyLaszlo
|
dcf94c2c61
|
Client struct, signal wip, refactoring
|
2022-07-25 05:28:44 +02:00 |
|
Me
|
b9ccf09089
|
ok we started moving stuff over but for now it's not all working yet
|
2022-07-25 03:10:42 +02:00 |
|
hugogogo
|
9477d36512
|
add luke epoll version
|
2022-07-23 08:53:59 +02:00 |
|
hugogogo
|
ebef346387
|
clean files
|
2022-07-23 08:38:08 +02:00 |
|
LuckyLaszlo
|
72d9709ca7
|
poll() replaced by epoll()
|
2022-07-23 07:01:41 +02:00 |
|
hugogogo
|
c8c2d94a39
|
makefile compile both luke and hugo files
|
2022-07-22 23:37:30 +02:00 |
|
hugogogo
|
46a5e55e6d
|
baked hugo version of webserv
|
2022-07-22 22:17:12 +02:00 |
|
hugogogo
|
61fb5ea595
|
renamed main in hugo
|
2022-07-22 22:03:56 +02:00 |
|
hugogogo
|
15e00d03ce
|
class version of poll ref
|
2022-07-22 22:00:32 +02:00 |
|
hugogogo
|
63581c8a42
|
wip vector version
|
2022-07-22 15:57:55 +02:00 |
|
LuckyLaszlo
|
cb8cc22c67
|
example for new usage of poll()
|
2022-07-20 20:19:13 +02:00 |
|
hugogogo
|
708da8bb61
|
wip put poll version inside luke version
|
2022-07-20 17:11:24 +02:00 |
|