Mercurial > hg > nginx-vendor-1-0
comparison src/http/ngx_http_upstream.c @ 286:5bef04fc3fd5 NGINX_0_5_13
nginx 0.5.13
*) Feature: the COPY and MOVE methods.
*) Bugfix: the ngx_http_realip_module set garbage for requests passed
via keep-alive connection.
*) Bugfix: nginx did not work on big-endian 64-bit Linux.
Thanks to Andrei Nigmatulin.
*) Bugfix: now when IMAP/POP3 proxy receives too long command it closes
the connection right away, but not after timeout.
*) Bugfix: if the "epoll" method was used and a client closed a
connection prematurely, then nginx closed the connection after a
send timeout only.
*) Bugfix: nginx could not be built on platforms different from i386,
amd64, sparc and ppc; bug appeared in 0.5.8.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 19 Feb 2007 00:00:00 +0300 |
parents | 3dbecd747fbb |
children | 92402f034b28 |
comparison
equal
deleted
inserted
replaced
285:0e505c8b6528 | 286:5bef04fc3fd5 |
---|---|
431 | 431 |
432 n = recv(c->fd, buf, 1, MSG_PEEK); | 432 n = recv(c->fd, buf, 1, MSG_PEEK); |
433 | 433 |
434 err = ngx_socket_errno; | 434 err = ngx_socket_errno; |
435 | 435 |
436 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, ev->log, err, | |
437 "http upstream recv(): %d", n); | |
438 | |
436 /* | 439 /* |
437 * we do not need to disable the write event because | 440 * we do not need to disable the write event because |
438 * that event has NGX_USE_CLEAR_EVENT type | 441 * that event has NGX_USE_CLEAR_EVENT type |
439 */ | 442 */ |
440 | 443 |
2311 | 2314 |
2312 last = p; | 2315 last = p; |
2313 | 2316 |
2314 while (*++p == ' ') { /* void */ } | 2317 while (*++p == ' ') { /* void */ } |
2315 | 2318 |
2316 if (ngx_strncasecmp(p, "charset=", 8) != 0) { | 2319 if (ngx_strncasecmp(p, (u_char *) "charset=", 8) != 0) { |
2317 continue; | 2320 continue; |
2318 } | 2321 } |
2319 | 2322 |
2320 p += 8; | 2323 p += 8; |
2321 | 2324 |