Actually put headers, content-length and status in response

This commit is contained in:
Alex Hultman
2018-06-24 01:27:40 +02:00
parent a2fe871e63
commit 0cbccaf08e
5 changed files with 77 additions and 50 deletions
+4 -5
View File
@@ -1,7 +1,3 @@
// should lie in hub and be connected with pre/post callbacks
char *corkBuffer = new char[1024];
int corkOffset = 0;
#ifndef HUB_H
#define HUB_H
@@ -16,8 +12,11 @@ struct Loop {
us_loop *loop;
struct Data {
Data() {
char *corkBuffer = new char[1024];
int corkOffset = 0;
Data() {
}