u413-284-si / webserv

This project is about setting up a http web server, providing a static website.
MIT License
0 stars 0 forks source link

64 responsestream of responsebuilder not cleared of previous response #67

Closed gwolf-011235 closed 1 day ago

gwolf-011235 commented 1 week ago

Summary

  1. Fixes issue with binary data (e.g. image.png) being corrupted when sent in response
  2. Removes unnecessary optimization
  3. Prepares for variable sized clientHeader / Body buffer
  4. Removes m_receivedBytes from connection

1. Binary data

2 Unnecessary optimization

3. Prepare for variable sized buffers

4. Remove receivedBytes