summaryrefslogtreecommitdiffhomepage
path: root/src/event/ngx_event_connect.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/event/ngx_event_connect.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/event/ngx_event_connect.h b/src/event/ngx_event_connect.h
index 1534c1436..01299f12b 100644
--- a/src/event/ngx_event_connect.h
+++ b/src/event/ngx_event_connect.h
@@ -41,6 +41,9 @@ typedef struct {
int tries;
ngx_connection_t *connection;
+#if (NGX_THREADS)
+ ngx_atomic_t *lock;
+#endif
int rcvbuf;