Mercurial > hg > nginx
view src/core/ngx_inet.h @ 471:31ee1b50354f release-0.1.10
nginx-0.1.10-RELEASE import
*) Bugfix: if the request without arguments contains "//", "/./",
"/../" or "%XX" then the lost character in the request line was
lost; the bug had 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 <igor@sysoev.ru> |
---|---|
date | Fri, 26 Nov 2004 09:33:59 +0000 |
parents | 42d11f017717 |
children | c52408583801 |
line wrap: on
line source
/* * Copyright (C) Igor Sysoev */ #ifndef _NGX_INET_H_INCLUDED_ #define _NGX_INET_H_INCLUDED_ typedef struct { in_addr_t addr; in_addr_t mask; } ngx_inet_cidr_t; size_t ngx_sock_ntop(int family, struct sockaddr *addr, u_char *text, size_t len); size_t ngx_inet_ntop(int family, void *addr, u_char *text, size_t len); ngx_int_t ngx_ptocidr(ngx_str_t *text, void *cidr); #endif /* _NGX_INET_H_INCLUDED_ */