coding style :
class : CapitalForTheFirstLetterOfEveryWord
function : replace_space_with_underscore
todo :
- default conf if none are provided ?
- remove -D TEST flag
- remember to close all the fds (sockets, epoll ...)
- is F_GETFL forbidden ? (function make_socket_nonblock)
- Should I make all the sockets non-block ?
- Should I erase old request every time I get a new one?
- Is it necessary to set client to write in epoll? If we write until buffer is full, write will write EAGAIN in errno, at this moment EPOLLOUT will be triggered in epoll. ref : https://www.gushiciku.cn/pl/g2xg/zh-tw
- two the same uri for different locations in the same server
- need to test find_file in HTTPRequest.cpp
- Default index page for server
- Check Error 414 ?
- upload a big file can't finish reading at once
- CGI TLE
- Do I need to delete_client_from_epoll after dealing with event ?
socket programming :
https://www.geeksforgeeks.org/socket-programming-cc/
https://github.com/Jibus22/webserv/wiki/Socket
epoll :
https://swingseagull.github.io/2016/11/08/epoll-sample/ https://www.cnblogs.com/fnlingnzb-learner/p/5835573.html https://www.jianshu.com/p/ee381d365a29
cgi :
https://tigercosmos.xyz/post/2020/01/web/cgi/
cookie :
https://www.freecodecamp.org/news/everything-you-need-to-know-about-cookies-for-web-development/
https://www.valentinog.com/blog/cookies/
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cookie
http status code :
https://en.wikipedia.org/wiki/List_of_HTTP_status_codes
delete method :
https://reqbin.com/Article/HttpDelete
unread :
https://www.notion.so/etelcode/Documentation-Webserv-320727979ffd4176a7dd5ba41aaadf46 - french