aboutsummaryrefslogtreecommitdiff
path: root/src/net/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/common.h')
-rw-r--r--src/net/common.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/net/common.h b/src/net/common.h
index 6d2f625..ee8f77a 100644
--- a/src/net/common.h
+++ b/src/net/common.h
@@ -22,18 +22,19 @@
#define max_con 200
//2^42
#define MAX_HEADER_SIZE (1<<20)
-#define BUFFER_SIZE 20000
+#define BUFFER_SIZE 210000
+//00
#define HTTP_BUFFER_SIZE 4098
#define max_content_length 200000
enum file_status {
- _ignore, BARRIER_READ, FILE_HEADER, FILE_BODY, NORMAL
+ //_ignore, BARRIER_READ, FILE_HEADER, FILE_BODY, NORMAL
+ _ignore, BARRIER_START, BARRIER_END, NORMAL
};
struct file_parse {
enum file_status status;
- str *current, *old, *boundary, *boundary_id;
- int dash_count, table_idx;
+ str *current, *old, *boundary, *line;
};
struct net_data {