Module: sip-router
Branch: master
Commit: 2ad5ba6fd8a5cde9038d90c969632ee3a1148ccd
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2ad5ba6…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Wed Sep 1 14:31:50 2010 +0200
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
---
tcp_conn.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/tcp_conn.h b/tcp_conn.h
index b729df7..4328208 100644
--- a/tcp_conn.h
+++ b/tcp_conn.h
@@ -76,6 +76,9 @@
#define F_CONN_WANTS_WR 8192 /* conn. should be watched for WRITE */
#define F_CONN_PASSIVE 16384 /* conn. created via accept() and not connect()*/
+#ifndef NO_READ_HTTP11
+#define READ_HTTP11
+#endif
enum tcp_req_errors { TCP_REQ_INIT, TCP_REQ_OK, TCP_READ_ERROR,
TCP_REQ_OVERRUN, TCP_REQ_BAD_LEN };