view src/core/ngx_unix_domain.h @ 242:ff906029dd40 NGINX_0_4_6

nginx 0.4.6 *) Bugfix: nginx did not run on 64-bit platforms except amd64, sparc64, and ppc64. *) Bugfix: nginx sent the chunked response for HTTP/1.1 request, if its length was set by text string in the $r->headers_out("Content-Length", ...) method. *) Bugfix: after redirecting error by an "error_page" directive any ngx_http_rewrite_module directive returned this error code; bug appeared in 0.4.4.
author Igor Sysoev <http://sysoev.ru>
date Fri, 06 Oct 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_ */