aboutsummaryrefslogtreecommitdiff
path: root/src/mail/ngx_mail.h
diff options
context:
space:
mode:
authorVladimir Homutov <vl@nginx.com>2017-04-03 17:30:34 +0300
committerVladimir Homutov <vl@nginx.com>2017-04-03 17:30:34 +0300
commita965e1d76642095f3f4e5f43d13a8b0379296e43 (patch)
treecbe27ab348d141c84299d77045c57ab011b65590 /src/mail/ngx_mail.h
parent9f7b5576735d1a711acfc62af45088a54c786d27 (diff)
downloadnginx-a965e1d76642095f3f4e5f43d13a8b0379296e43.tar.gz
nginx-a965e1d76642095f3f4e5f43d13a8b0379296e43.zip
Mail: configurable socket buffer sizes.
The "rcvbuf" and "sndbuf" parameters are now supported by the "listen" directive.
Diffstat (limited to 'src/mail/ngx_mail.h')
-rw-r--r--src/mail/ngx_mail.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mail/ngx_mail.h b/src/mail/ngx_mail.h
index 600250820..6ecfefc98 100644
--- a/src/mail/ngx_mail.h
+++ b/src/mail/ngx_mail.h
@@ -46,6 +46,8 @@ typedef struct {
int tcp_keepcnt;
#endif
int backlog;
+ int rcvbuf;
+ int sndbuf;
} ngx_mail_listen_t;