Browse code

core: make READ_HTTP11 on if NO_READ_HTTP11 is defined

- the code is anyhow enabled only when tcp_accept_no_cl is on
- suggested by Andrei

Daniel-Constantin Mierla authored on 01/09/2010 12:31:50
Showing 1 changed files
... ...
@@ -76,6 +76,9 @@
76 76
 #define F_CONN_WANTS_WR  8192  /* conn. should be watched for WRITE */
77 77
 #define F_CONN_PASSIVE  16384 /* conn. created via accept() and not connect()*/
78 78
 
79
+#ifndef NO_READ_HTTP11
80
+#define READ_HTTP11
81
+#endif
79 82
 
80 83
 enum tcp_req_errors {	TCP_REQ_INIT, TCP_REQ_OK, TCP_READ_ERROR,
81 84
 						TCP_REQ_OVERRUN, TCP_REQ_BAD_LEN };