Mercurial > hg > nginx-vendor-0-5
annotate src/core/ngx_inet.h @ 20:636dad238b63 NGINX_0_1_10
nginx 0.1.10
*) Bugfix: if the request without arguments contains "//", "/./",
"/../" or "%XX" then the lost character in the request line was
lost; bug appeared in 0.1.9.
*) Bugfix: the fix in 0.1.9 for the files bigger than 2G on Linux did
not work.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Fri, 26 Nov 2004 00:00:00 +0300 |
parents | f0b350454894 |
children | 7ca9bdc82b3f |
rev | line source |
---|---|
0 | 1 |
2 /* | |
3 * Copyright (C) Igor Sysoev | |
4 */ | |
5 | |
6 | |
7 #ifndef _NGX_INET_H_INCLUDED_ | |
8 #define _NGX_INET_H_INCLUDED_ | |
9 | |
10 | |
11 typedef struct { | |
12 in_addr_t addr; | |
13 in_addr_t mask; | |
14 } ngx_inet_cidr_t; | |
15 | |
16 | |
17 size_t ngx_sock_ntop(int family, struct sockaddr *addr, u_char *text, | |
18 size_t len); | |
19 size_t ngx_inet_ntop(int family, void *addr, u_char *text, size_t len); | |
20 | |
21 ngx_int_t ngx_ptocidr(ngx_str_t *text, void *cidr); | |
22 | |
23 | |
24 #endif /* _NGX_INET_H_INCLUDED_ */ |