loudapet / 42webserv

This project is about writing one's own HTTP server
2 stars 0 forks source link

Make Transfer-Encoding, Content-Length and URI respect limits specified by config #44

Open loudapet opened 2 weeks ago

andreaulicna commented 1 week ago

hasValidHeaderEnd checks for the buffer being longer than CLIENT_MESSAGE_BUFF * 2 (without finding the valid header end) and throws 413 if so