view src/core/ngx_unix_domain.h @ 224:9909a161eb28 NGINX_0_3_59

nginx 0.3.59 *) Feature: now is possible to do several redirection using the "error_page" directive. *) Bugfix: the "dav_access" directive did not support three parameters. *) Bugfix: the "error_page" directive did not changes the "Content-Type" header line after the "X-Accel-Redirect" was used; bug appeared in 0.3.58.
author Igor Sysoev <http://sysoev.ru>
date Wed, 16 Aug 2006 00:00:00 +0400
parents 7ca9bdc82b3f
children
line wrap: on
line source


/*
 * Copyright (C) Igor Sysoev
 */


#ifndef _NGX_UNIX_DOMAIN_H_INCLUDED_
#define _NGX_UNIX_DOMAIN_H_INCLUDED_


#include <ngx_config.h>
#include <ngx_core.h>


typedef struct {
    ngx_str_t     name;           /* "schema:unix:path:/uri" */
    ngx_str_t     url;            /* "unix:path:/uri" */
    ngx_str_t     uri;

    ngx_uint_t    uri_part;       /* unsigned  uri_part:1; */
} ngx_unix_domain_upstream_t;


ngx_peers_t *ngx_unix_upstream_parse(ngx_conf_t *cf,
                                     ngx_unix_domain_upstream_t *u);


#endif /* _NGX_UNIX_DOMAIN_H_INCLUDED_ */