Klaus Demo nginx / bd375b9
fix typo Igor Sysoev 11 years ago
5 changed file(s) with 5 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
241241
242242 { ngx_string("fastcgi_bind"),
243243 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1,
244 ngx_http_upsteam_bind_set_slot,
244 ngx_http_upstream_bind_set_slot,
245245 NGX_HTTP_LOC_CONF_OFFSET,
246246 offsetof(ngx_http_fastcgi_loc_conf_t, upstream.local),
247247 NULL },
6464
6565 { ngx_string("memcached_bind"),
6666 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1,
67 ngx_http_upsteam_bind_set_slot,
67 ngx_http_upstream_bind_set_slot,
6868 NGX_HTTP_LOC_CONF_OFFSET,
6969 offsetof(ngx_http_memcached_loc_conf_t, upstream.local),
7070 NULL },
230230
231231 { ngx_string("proxy_bind"),
232232 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1,
233 ngx_http_upsteam_bind_set_slot,
233 ngx_http_upstream_bind_set_slot,
234234 NGX_HTTP_LOC_CONF_OFFSET,
235235 offsetof(ngx_http_proxy_loc_conf_t, upstream.local),
236236 NULL },
42034203
42044204
42054205 char *
4206 ngx_http_upsteam_bind_set_slot(ngx_conf_t *cf, ngx_command_t *cmd,
4206 ngx_http_upstream_bind_set_slot(ngx_conf_t *cf, ngx_command_t *cmd,
42074207 void *conf)
42084208 {
42094209 char *p = conf;
322322 void ngx_http_upstream_init(ngx_http_request_t *r);
323323 ngx_http_upstream_srv_conf_t *ngx_http_upstream_add(ngx_conf_t *cf,
324324 ngx_url_t *u, ngx_uint_t flags);
325 char *ngx_http_upsteam_bind_set_slot(ngx_conf_t *cf, ngx_command_t *cmd,
325 char *ngx_http_upstream_bind_set_slot(ngx_conf_t *cf, ngx_command_t *cmd,
326326 void *conf);
327327 ngx_int_t ngx_http_upstream_hide_headers_hash(ngx_conf_t *cf,
328328 ngx_http_upstream_conf_t *conf, ngx_http_upstream_conf_t *prev,