Mercurial > hg > nginx-quic
comparison src/core/ngx_inet.c @ 631:5d2b8078c1c2 release-0.3.37
nginx-0.3.37-RELEASE import
*) Feature: the "limit_except" directive.
*) Feature: the "if" directive supports the "!~", "!~*", "-f", and
"!-f" operators.
*) Feature: the ngx_http_perl_module supports the $r->request_body
method.
*) Bugfix: in the ngx_http_addition_filter_module.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 07 Apr 2006 14:08:04 +0000 |
parents | 326634fb9d47 |
children | 39b7d7b33c91 |
comparison
equal
deleted
inserted
replaced
630:375dab4fd227 | 631:5d2b8078c1c2 |
---|---|
19 * By the way, the implementation using ngx_sprintf() is faster by 2.5-3 times | 19 * By the way, the implementation using ngx_sprintf() is faster by 2.5-3 times |
20 * than using FreeBSD libc's snprintf(). | 20 * than using FreeBSD libc's snprintf(). |
21 */ | 21 */ |
22 | 22 |
23 | 23 |
24 static | 24 static ngx_inline size_t |
25 ngx_inline size_t ngx_sprint_uchar(u_char *text, u_char c, size_t len) | 25 ngx_sprint_uchar(u_char *text, u_char c, size_t len) |
26 { | 26 { |
27 size_t n; | 27 size_t n; |
28 ngx_uint_t c1, c2; | 28 ngx_uint_t c1, c2; |
29 | 29 |
30 n = 0; | 30 n = 0; |