summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_conn.h
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2017-09-15 20:30:24 +0300
committerMax Romanov <max.romanov@nginx.com>2017-09-15 20:30:24 +0300
commit0bec14878e99de280046e1d1b1a0195e5478c808 (patch)
treef5f40c8b9b4d1f3679d6daf38031002b4160d05b /src/nxt_conn.h
parent90ae152ce0ace8f2c41a012b9fa52b2f3283a845 (diff)
downloadunit-0bec14878e99de280046e1d1b1a0195e5478c808.tar.gz
unit-0bec14878e99de280046e1d1b1a0195e5478c808.tar.bz2
Introducing application timeout.
Diffstat (limited to '')
-rw-r--r--src/nxt_conn.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/nxt_conn.h b/src/nxt_conn.h
index 33c6ad28..32cad432 100644
--- a/src/nxt_conn.h
+++ b/src/nxt_conn.h
@@ -175,17 +175,6 @@ struct nxt_conn_s {
};
-typedef uint32_t nxt_req_id_t;
-
-typedef struct {
- nxt_req_id_t req_id;
- nxt_conn_t *conn;
- nxt_port_t *app_port;
-
- nxt_queue_link_t link; /* for nxt_conn_t.requests */
-} nxt_req_conn_link_t;
-
-
#define nxt_conn_timer_init(ev, c, wq) \
do { \
(ev)->work_queue = (wq); \
@@ -353,10 +342,4 @@ NXT_EXPORT void nxt_conn_proxy(nxt_task_t *task, nxt_conn_proxy_t *p);
#define nxt_event_conn_close nxt_conn_close
-NXT_EXPORT nxt_req_conn_link_t *nxt_conn_request_add(nxt_conn_t *c,
- nxt_req_id_t req_id);
-NXT_EXPORT void nxt_conn_request_remove(nxt_conn_t *c,
- nxt_req_conn_link_t *rc);
-
-
#endif /* _NXT_CONN_H_INCLUDED_ */