forked from cat/WebBase
Fixed write data... again. Fuck my programmer life.
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
#include "Helpers.hpp"
|
||||
#include "Main.hpp"
|
||||
#include <asio/socket_base.hpp>
|
||||
#include <iostream>
|
||||
#include <istream>
|
||||
#include <string>
|
||||
|
||||
// TODO: Remove boundary from the body. Do keep other stuff like
|
||||
// file type and name
|
||||
@@ -33,7 +36,6 @@ void HTTPrequest::processHTTPHeader() {
|
||||
|
||||
// RESPOND
|
||||
processRequest();
|
||||
sock.close(); // end
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user