]> git.kaiwu.me - nginx.git/log
nginx.git
14 years agoThe "worker_aio_requests" directive.
Igor Sysoev [Tue, 20 Sep 2011 07:30:09 +0000 (07:30 +0000)]
The "worker_aio_requests" directive.

The default value is 32 AIO simultaneous requests per worker. Previously
they were hardcoded to 1024, and it was too large, since Linux allocated
them early on io_setup(), but not on request itself. So with default value
of /proc/sys/fs/aio-max-nr equal to 65536 only 64 worker processes could
be run simultaneously. 32 AIO requests are enough for modern disks even if
server runs only 1 worker.

14 years agoReplaced "can not" with "cannot" and "could not" in a bunch of places.
Ruslan Ermilov [Mon, 19 Sep 2011 14:48:29 +0000 (14:48 +0000)]
Replaced "can not" with "cannot" and "could not" in a bunch of places.
Fixed nearby grammar errors.

14 years agoCosmetics: replaced NGX_CONF_TAKE1 to NGX_CONF_FLAG for "sendfile"
Ruslan Ermilov [Mon, 19 Sep 2011 12:41:13 +0000 (12:41 +0000)]
Cosmetics: replaced NGX_CONF_TAKE1 to NGX_CONF_FLAG for "sendfile"
and "chunked_transfer_encoding" directives, to be in line with all
directives taking a boolean argument.  Both flags will ensure that
a directive takes one argument.

14 years agoOverhauled diagnostic messages.
Ruslan Ermilov [Mon, 19 Sep 2011 12:37:22 +0000 (12:37 +0000)]
Overhauled diagnostic messages.

14 years agoFixing Linux AIO initiatialization: AIO operations are disabled if kernel
Igor Sysoev [Fri, 16 Sep 2011 13:41:52 +0000 (13:41 +0000)]
Fixing Linux AIO initiatialization: AIO operations are disabled if kernel
does not support them.  Previously worker just exited.

14 years agoFixing Linux AIO syscalls return value handling:
Igor Sysoev [Fri, 16 Sep 2011 12:43:16 +0000 (12:43 +0000)]
Fixing Linux AIO syscalls return value handling:
syscall(2) uses usual libc convention, it returns -1 on error and
sets errno. Obsolete _syscall(2) returns negative value of error.

Thanks to Hagai Avrahami.

14 years agoTrailing space fix.
Maxim Dounin [Fri, 16 Sep 2011 12:08:52 +0000 (12:08 +0000)]
Trailing space fix.

14 years agoUpstream keepalive module.
Maxim Dounin [Thu, 15 Sep 2011 19:28:18 +0000 (19:28 +0000)]
Upstream keepalive module.

14 years agoProxy: basic HTTP/1.1 support (including keepalive).
Maxim Dounin [Thu, 15 Sep 2011 19:23:20 +0000 (19:23 +0000)]
Proxy: basic HTTP/1.1 support (including keepalive).

By default we still send requests using HTTP/1.0.  This may be changed with
new proxy_http_version directive.

14 years agoProtocol version parsing in ngx_http_parse_status_line().
Maxim Dounin [Thu, 15 Sep 2011 19:22:35 +0000 (19:22 +0000)]
Protocol version parsing in ngx_http_parse_status_line().

Once we know protocol version, set u->headers_in.connection_close to indicate
implicitly assumed connection close with HTTP before 1.1.

14 years agoUpstream: Connection header processing.
Maxim Dounin [Thu, 15 Sep 2011 19:21:19 +0000 (19:21 +0000)]
Upstream: Connection header processing.

14 years agoUpstream: Transfer-Encoding header processing.
Maxim Dounin [Thu, 15 Sep 2011 19:20:08 +0000 (19:20 +0000)]
Upstream: Transfer-Encoding header processing.

14 years agoKeepalive support in fastcgi.
Maxim Dounin [Thu, 15 Sep 2011 19:05:23 +0000 (19:05 +0000)]
Keepalive support in fastcgi.

By default follow the old behaviour, i.e. FASTCGI_KEEP_CONN flag isn't set
in request and application is responsible for closing connection once request
is done.  To keep connections alive fastcgi_keep_conn must be activated.

14 years agoKeepalive support in memcached.
Maxim Dounin [Thu, 15 Sep 2011 19:04:25 +0000 (19:04 +0000)]
Keepalive support in memcached.

14 years agoUpstream: keepalive flag.
Maxim Dounin [Thu, 15 Sep 2011 19:03:15 +0000 (19:03 +0000)]
Upstream: keepalive flag.

This patch introduces r->upstream->keepalive flag, which is set by protocol
handlers if connection to upstream is in good state and can be kept alive.

14 years agoUpstream: pipe length and input_filter_init in buffered mode.
Maxim Dounin [Thu, 15 Sep 2011 19:00:47 +0000 (19:00 +0000)]
Upstream: pipe length and input_filter_init in buffered mode.

As long as ngx_event_pipe() has more data read from upstream than specified
in p->length it's passed to input filter even if buffer isn't yet full.  This
allows to process data with known length without relying on connection close
to signal data end.

By default p->length is set to -1 in upstream module, i.e. end of data is
indicated by connection close.  To set it from per-protocol handlers upstream
input_filter_init() now called in buffered mode (as well as in
unbuffered mode).

14 years agoUpstream: r->upstream->length type change to off_t.
Maxim Dounin [Thu, 15 Sep 2011 18:43:19 +0000 (18:43 +0000)]
Upstream: r->upstream->length type change to off_t.

Previous use of size_t may cause wierd effects on 32bit platforms with certain
big responses transferred in unbuffered mode.

Nuke "if (size > u->length)" check as it's not usefull anyway (preread
body data isn't subject to this check) and now requires additional check
for u->length being positive.

14 years agoUpstream: content_length_n API change.
Maxim Dounin [Thu, 15 Sep 2011 18:33:43 +0000 (18:33 +0000)]
Upstream: content_length_n API change.

We no longer use r->headers_out.content_length_n as a primary source of
backend's response length.  Instead we parse response length to
u->headers_in.content_length_n and copy to r->headers_out.content_length_n
when needed.

14 years agoUpstream: separate pool for peer connections.
Maxim Dounin [Thu, 15 Sep 2011 18:21:24 +0000 (18:21 +0000)]
Upstream: separate pool for peer connections.

This is required to support persistent https connections as various ssl
structures are allocated from connection's pool.

14 years agoWorkaround for cpu hog on errors with cached connections.
Maxim Dounin [Thu, 15 Sep 2011 18:12:58 +0000 (18:12 +0000)]
Workaround for cpu hog on errors with cached connections.

Just doing another connect isn't safe as peer.get() may expect peer.tries
to be strictly positive (this is the case e.g. with round robin with multiple
upstream servers).  Increment peer.tries to at least avoid cpu hog in
round robin balancer (with the patch alert will be seen instead).

This is not enough to fully address the problem though, hence TODO.  We
should be able to inform balancer that the error wasn't considered fatal
and it may make sense to retry the same peer.

14 years agoAPI change: ngx_chain_update_chains() now requires pool.
Maxim Dounin [Thu, 15 Sep 2011 16:03:17 +0000 (16:03 +0000)]
API change: ngx_chain_update_chains() now requires pool.

The ngx_chain_update_chains() needs pool to free chain links used for buffers
with non-matching tags.  Providing one helps to reduce memory consumption
for long-lived requests.

14 years agoBuffers reuse in chunked filter.
Maxim Dounin [Thu, 15 Sep 2011 15:25:42 +0000 (15:25 +0000)]
Buffers reuse in chunked filter.

There were 2 buffers allocated on each buffer chain sent through chunked
filter (one buffer for chunk size, another one for trailing CRLF, about
120 bytes in total on 32-bit platforms).  This resulted in large memory
consumption with long-lived requests sending many buffer chains.  Usual
example of problematic scenario is streaming though proxy with
proxy_buffering set to off.

Introduced buffers reuse reduces memory consumption in the above problematic
scenario.

See here for initial report:
http://mailman.nginx.org/pipermail/nginx/2010-April/019814.html

14 years agoMP4 co64 atom support added.
Igor Sysoev [Thu, 15 Sep 2011 13:23:03 +0000 (13:23 +0000)]
MP4 co64 atom support added.

14 years agoRegenerated after previous commit.
Ruslan Ermilov [Thu, 15 Sep 2011 08:59:38 +0000 (08:59 +0000)]
Regenerated after previous commit.

14 years agoAdded ngx_http_mp4_module documentation.
Ruslan Ermilov [Thu, 15 Sep 2011 08:59:13 +0000 (08:59 +0000)]
Added ngx_http_mp4_module documentation.

14 years agoRegenerated after previous commit.
Ruslan Ermilov [Thu, 15 Sep 2011 08:33:25 +0000 (08:33 +0000)]
Regenerated after previous commit.

14 years ago- The module name is now also output as an HTML header.
Ruslan Ermilov [Thu, 15 Sep 2011 08:24:33 +0000 (08:24 +0000)]
- The module name is now also output as an HTML header.
- Agreed that examples can only contain literal text.
- Agreed to call modules "ngx_*_module".
- Renamed XML element "http-error" to a more general "http-status".
- Fixed text of error codes to match the actual code.

14 years agoFix of struct field name.
Igor Sysoev [Thu, 15 Sep 2011 05:15:16 +0000 (05:15 +0000)]
Fix of struct field name.

14 years agoStyle fix.
Igor Sysoev [Wed, 14 Sep 2011 15:26:11 +0000 (15:26 +0000)]
Style fix.

14 years agoFixing building by gcc-4.7.
Igor Sysoev [Wed, 14 Sep 2011 15:25:46 +0000 (15:25 +0000)]
Fixing building by gcc-4.7.

14 years agoVersion bump.
Igor Sysoev [Wed, 14 Sep 2011 15:20:01 +0000 (15:20 +0000)]
Version bump.

14 years agorelease-1.1.3 tag
Igor Sysoev [Wed, 14 Sep 2011 15:00:51 +0000 (15:00 +0000)]
release-1.1.3 tag

14 years agonginx-1.1.3-RELEASE release-1.1.3
Igor Sysoev [Wed, 14 Sep 2011 15:00:43 +0000 (15:00 +0000)]
nginx-1.1.3-RELEASE

14 years agoFix of the previous commit: is_directio flag processing introduced in r4077
Igor Sysoev [Wed, 14 Sep 2011 14:28:55 +0000 (14:28 +0000)]
Fix of the previous commit: is_directio flag processing introduced in r4077
is still worthwhile.

14 years agoBugfix: open_file_cache did not update file info on retest.
Igor Sysoev [Wed, 14 Sep 2011 14:12:35 +0000 (14:12 +0000)]
Bugfix: open_file_cache did not update file info on retest.

If file inode was not changed, cached file information was not updated
on retest.  As a result stale information might be cached forever if file
attributes was changed and/or file was extended.

This fix also makes obsolete r4077 change of is_directio flag handling,
since this flag is updated together with other file information.

14 years agoSkipping traks with unsupported media formats.
Igor Sysoev [Wed, 14 Sep 2011 14:04:41 +0000 (14:04 +0000)]
Skipping traks with unsupported media formats.

14 years agoFix of case when start sample does not reside on chunk boundary.
Igor Sysoev [Wed, 14 Sep 2011 05:16:20 +0000 (05:16 +0000)]
Fix of case when start sample does not reside on chunk boundary.

14 years agoIn Mac OS X Lion, Apple deprecated the use of the system OpenSSL library
Ruslan Ermilov [Tue, 13 Sep 2011 09:18:43 +0000 (09:18 +0000)]
In Mac OS X Lion, Apple deprecated the use of the system OpenSSL library
in favour of their CommonCrypto library.  This change adds a work-around
that allows nginx to still be built on Lion with OpenSSL.

14 years agoFix of debug message format.
Igor Sysoev [Mon, 12 Sep 2011 15:15:00 +0000 (15:15 +0000)]
Fix of debug message format.

14 years agoFix of codec debug message.
Igor Sysoev [Mon, 12 Sep 2011 14:54:28 +0000 (14:54 +0000)]
Fix of codec debug message.

14 years agoFix of error message.
Igor Sysoev [Mon, 12 Sep 2011 14:46:06 +0000 (14:46 +0000)]
Fix of error message.

14 years agoFix of error message.
Igor Sysoev [Mon, 12 Sep 2011 13:06:22 +0000 (13:06 +0000)]
Fix of error message.

14 years agoRegenerate after previous commits.
Ruslan Ermilov [Mon, 12 Sep 2011 09:50:33 +0000 (09:50 +0000)]
Regenerate after previous commits.

14 years ago- The "example" element can now contain sub-elements.
Ruslan Ermilov [Mon, 12 Sep 2011 09:49:56 +0000 (09:49 +0000)]
- The "example" element can now contain sub-elements.
- Added entities for Unicode quotes.

14 years agoHTTP errors are now output as "code (text)".
Ruslan Ermilov [Mon, 12 Sep 2011 09:48:33 +0000 (09:48 +0000)]
HTTP errors are now output as "code (text)".

14 years agomp4_max_moov_size directive has been renamed to mp4_max_buffer_size.
Igor Sysoev [Mon, 12 Sep 2011 09:38:04 +0000 (09:38 +0000)]
mp4_max_moov_size directive has been renamed to mp4_max_buffer_size.

14 years agobugfix of r4086: nginx could not be built without debug log.
Igor Sysoev [Fri, 9 Sep 2011 11:56:49 +0000 (11:56 +0000)]
bugfix of r4086: nginx could not be built without debug log.

14 years agoBugfix of r4086: directio was always enabled if mp4 file was sent as is.
Igor Sysoev [Fri, 9 Sep 2011 11:13:55 +0000 (11:13 +0000)]
Bugfix of r4086: directio was always enabled if mp4 file was sent as is.

14 years ago"video/mp4" mime type added.
Igor Sysoev [Fri, 9 Sep 2011 10:25:43 +0000 (10:25 +0000)]
"video/mp4" mime type added.

14 years agongx_http_mp4_module
Igor Sysoev [Fri, 9 Sep 2011 10:22:34 +0000 (10:22 +0000)]
ngx_http_mp4_module

14 years agoRegenerate after previous commits.
Ruslan Ermilov [Thu, 8 Sep 2011 13:28:25 +0000 (13:28 +0000)]
Regenerate after previous commits.

14 years agoCleaned up links.
Ruslan Ermilov [Thu, 8 Sep 2011 13:27:18 +0000 (13:27 +0000)]
Cleaned up links.

14 years agoRegenerate after previous commit.
Ruslan Ermilov [Thu, 8 Sep 2011 13:26:37 +0000 (13:26 +0000)]
Regenerate after previous commit.

14 years agoBasic inter-document and external linking support.
Ruslan Ermilov [Thu, 8 Sep 2011 13:26:06 +0000 (13:26 +0000)]
Basic inter-document and external linking support.

14 years agoRegenerate after previous commit.
Ruslan Ermilov [Tue, 6 Sep 2011 13:43:04 +0000 (13:43 +0000)]
Regenerate after previous commit.

14 years agoFinished initial translation of the Core and HTTP Core modules.
Ruslan Ermilov [Tue, 6 Sep 2011 13:42:40 +0000 (13:42 +0000)]
Finished initial translation of the Core and HTTP Core modules.

14 years agoRegenerate after previous commit.
Ruslan Ermilov [Tue, 6 Sep 2011 10:42:17 +0000 (10:42 +0000)]
Regenerate after previous commit.

14 years agoNew elements: "dq", "pathname"; new list type: "tag".
Ruslan Ermilov [Tue, 6 Sep 2011 10:41:44 +0000 (10:41 +0000)]
New elements: "dq", "pathname"; new list type: "tag".

14 years agoBugfix: open_file_cache lost is_directio flag.
Maxim Dounin [Mon, 5 Sep 2011 16:36:19 +0000 (16:36 +0000)]
Bugfix: open_file_cache lost is_directio flag.

On file retest open_file_cache lost is_directio if file wasn't changed.
This caused unaligned operations under Linux to fail with EINVAL.
It wasn't noticeable with AIO though, as errors wasn't properly logged.

14 years agoVersion bump.
Igor Sysoev [Mon, 5 Sep 2011 16:26:51 +0000 (16:26 +0000)]
Version bump.

14 years agorelease-1.1.2 tag
Igor Sysoev [Mon, 5 Sep 2011 13:14:34 +0000 (13:14 +0000)]
release-1.1.2 tag

14 years agonginx-1.1.2-RELEASE release-1.1.2
Igor Sysoev [Mon, 5 Sep 2011 13:14:27 +0000 (13:14 +0000)]
nginx-1.1.2-RELEASE

14 years agoBugfix: read event was not blocked after reading body.
Maxim Dounin [Mon, 5 Sep 2011 12:43:31 +0000 (12:43 +0000)]
Bugfix: read event was not blocked after reading body.

Read event should be blocked after reading body, else undefined behaviour
might occur on additional client activity.  This fixes segmentation faults
observed with proxy_ignore_client_abort set.

14 years agoRegenerate after previous commit.
Ruslan Ermilov [Mon, 5 Sep 2011 09:58:31 +0000 (09:58 +0000)]
Regenerate after previous commit.

14 years agoTranslate "types" and "underscores_in_headers" directives.
Ruslan Ermilov [Mon, 5 Sep 2011 09:58:00 +0000 (09:58 +0000)]
Translate "types" and "underscores_in_headers" directives.

14 years agoRegenerate HTML for the previous revision.
Ruslan Ermilov [Mon, 5 Sep 2011 09:40:50 +0000 (09:40 +0000)]
Regenerate HTML for the previous revision.

14 years agoInitial English translation of Core and HTTP Core modules.
Ruslan Ermilov [Mon, 5 Sep 2011 09:39:24 +0000 (09:39 +0000)]
Initial English translation of Core and HTTP Core modules.

14 years agoXSLT regeneration for the previous commit.
Ruslan Ermilov [Mon, 5 Sep 2011 09:33:54 +0000 (09:33 +0000)]
XSLT regeneration for the previous commit.

14 years agoDTD and XSLS changes for modules.
Ruslan Ermilov [Mon, 5 Sep 2011 09:32:00 +0000 (09:32 +0000)]
DTD and XSLS changes for modules.

14 years agoProper setting of read->eof in pipe code.
Maxim Dounin [Thu, 1 Sep 2011 15:10:41 +0000 (15:10 +0000)]
Proper setting of read->eof in pipe code.

Setting read->eof to 0 seems to be just a typo.  It appeared in
nginx-0.0.1-2003-10-28-18:45:41 import (r164), while identical code in
ngx_recv.c introduced in the same import do actually set read->eof to 1.

Failure to set read->eof to 1 results in EOF not being generally detectable
from connection flags.  On the other hand, kqueue won't report any read
events on such a connection since we use EV_CLEAR.  This resulted in read
timeouts if such connection was cached and used for another request.

14 years agoProper SSL shutdown handling.
Maxim Dounin [Thu, 1 Sep 2011 13:49:36 +0000 (13:49 +0000)]
Proper SSL shutdown handling.

If connection has unsent alerts, SSL_shutdown() tries to send them even
if SSL_set_shutdown(SSL_RECEIVED_SHUTDOWN|SSL_SENT_SHUTDOWN) was used.
This can be prevented by SSL_set_quiet_shutdown().  SSL_set_shutdown()
is required nevertheless to preserve session.

14 years agoNow if client requests more ranges than "max_ranges" permits,
Igor Sysoev [Thu, 1 Sep 2011 13:03:55 +0000 (13:03 +0000)]
Now if client requests more ranges than "max_ranges" permits,
nginx disables ranges and returns just the source response.

14 years agoThe "max_ranges" directive.
Igor Sysoev [Wed, 31 Aug 2011 09:40:55 +0000 (09:40 +0000)]
The "max_ranges" directive.

"max_ranges 0" disables ranges support at all,
"max_ranges 1" allows the single range, etc.
By default number of ranges is unlimited, to be precise, 2^31-1.

14 years agoStyle fix: removal of tabs introduced in the previous commit.
Igor Sysoev [Wed, 31 Aug 2011 09:26:07 +0000 (09:26 +0000)]
Style fix: removal of tabs introduced in the previous commit.

14 years ago*) fix of r4060: start value should be tested after the "found" label;
Igor Sysoev [Tue, 30 Aug 2011 20:34:58 +0000 (20:34 +0000)]
*) fix of r4060: start value should be tested after the "found" label;
*) optimization: start value may be tested against end value only,
   since end value here may not be greater than content_length.

14 years agoUnsatisfiable range with start value greater than content length
Igor Sysoev [Tue, 30 Aug 2011 14:25:35 +0000 (14:25 +0000)]
Unsatisfiable range with start value greater than content length
was not properly skipped. The bug has been introduced in r4057.

14 years agongx_http_range_parse() should be static.
Igor Sysoev [Tue, 30 Aug 2011 13:07:33 +0000 (13:07 +0000)]
ngx_http_range_parse() should be static.

14 years agoRanges processing small optimization.
Igor Sysoev [Tue, 30 Aug 2011 13:06:12 +0000 (13:06 +0000)]
Ranges processing small optimization.

14 years agoNow unsatisfiable ranges are processed according to RFC 2616.
Igor Sysoev [Tue, 30 Aug 2011 13:01:55 +0000 (13:01 +0000)]
Now unsatisfiable ranges are processed according to RFC 2616.

14 years agoRanges processing small optimization.
Igor Sysoev [Tue, 30 Aug 2011 12:45:24 +0000 (12:45 +0000)]
Ranges processing small optimization.

14 years agoStyle fix.
Igor Sysoev [Tue, 30 Aug 2011 12:28:01 +0000 (12:28 +0000)]
Style fix.

14 years agoNow if total size of all ranges is greater than source response size,
Igor Sysoev [Fri, 26 Aug 2011 09:42:50 +0000 (09:42 +0000)]
Now if total size of all ranges is greater than source response size,
then nginx disables ranges and returns just the source response.
This fix should not affect well-behaving applications but will defeat
DoS attempts exploiting malicious byte ranges.

14 years agoCache size accounting fix: actual cache size on disk was less than
Igor Sysoev [Thu, 25 Aug 2011 17:29:34 +0000 (17:29 +0000)]
Cache size accounting fix: actual cache size on disk was less than
needed by sum of sizes of files loaded by worker processes themselves
while cache loader was running.

The bug has been introduced in r3900.

14 years agoBetter handling of various per-server ssl options with SNI.
Maxim Dounin [Tue, 23 Aug 2011 14:36:31 +0000 (14:36 +0000)]
Better handling of various per-server ssl options with SNI.

SSL_set_SSL_CTX() doesn't touch values cached within ssl connection
structure, it only changes certificates (at least as of now, OpenSSL
1.0.0d and earlier).

As a result settings like ssl_verify_client, ssl_verify_depth,
ssl_prefer_server_ciphers are only configurable on per-socket basis while
with SNI it should be possible to specify them different for two servers
listening on the same socket.

Workaround is to explicitly re-apply settings we care about from context
to ssl connection in servername callback.

Note that SSL_clear_options() is only available in OpenSSL 0.9.8m+.  I.e.
with older versions it is not possible to clear ssl_prefer_server_ciphers
option if it's set in default server for a socket.

14 years agoVersion bump.
Igor Sysoev [Tue, 23 Aug 2011 14:22:34 +0000 (14:22 +0000)]
Version bump.

14 years agoRestore the lost negation.
Ruslan Ermilov [Tue, 23 Aug 2011 13:39:22 +0000 (13:39 +0000)]
Restore the lost negation.

14 years agoRemoving incomplete draft documentation from release tarball and zip.
Igor Sysoev [Tue, 23 Aug 2011 13:35:02 +0000 (13:35 +0000)]
Removing incomplete draft documentation from release tarball and zip.

14 years agoGrammar fixes in CHANGES.
Igor Sysoev [Tue, 23 Aug 2011 13:29:47 +0000 (13:29 +0000)]
Grammar fixes in CHANGES.

14 years agoCHANGES conversion from KOI8-R to UTF-8.
Igor Sysoev [Tue, 23 Aug 2011 12:50:54 +0000 (12:50 +0000)]
CHANGES conversion from KOI8-R to UTF-8.

14 years agoGrammar fixes in CHANGES.
Igor Sysoev [Tue, 23 Aug 2011 10:18:35 +0000 (10:18 +0000)]
Grammar fixes in CHANGES.

14 years agoXSLT regeneration for the previous commit.
Igor Sysoev [Tue, 23 Aug 2011 10:11:09 +0000 (10:11 +0000)]
XSLT regeneration for the previous commit.

14 years agoTraling spaces removal in text CHANGES files.
Igor Sysoev [Tue, 23 Aug 2011 10:10:25 +0000 (10:10 +0000)]
Traling spaces removal in text CHANGES files.

14 years agoXSLT regeneration for r4023.
Igor Sysoev [Tue, 23 Aug 2011 09:48:44 +0000 (09:48 +0000)]
XSLT regeneration for r4023.

14 years agoGet rid of " <br/>" hacks.
Ruslan Ermilov [Tue, 23 Aug 2011 09:01:13 +0000 (09:01 +0000)]
Get rid of " <br/>" hacks.

14 years ago- support <br/> in the middle of input
Ruslan Ermilov [Tue, 23 Aug 2011 09:00:24 +0000 (09:00 +0000)]
- support <br/> in the middle of input
- fixed "<br>" lookup (eliminates the need in " <br/>" hacks)
- fixed maximum length for unbreakable input
- fixed space lookup (allows a space at column 77 to break a line)

14 years agorelease-1.1.1 tag
Igor Sysoev [Mon, 22 Aug 2011 13:56:14 +0000 (13:56 +0000)]
release-1.1.1 tag

14 years agonginx-1.1.1-RELEASE release-1.1.1
Igor Sysoev [Mon, 22 Aug 2011 13:56:08 +0000 (13:56 +0000)]
nginx-1.1.1-RELEASE

14 years agoSIGWINCH/NOACCEPT signal is disabled now in non-daemon mode.
Igor Sysoev [Mon, 22 Aug 2011 12:34:48 +0000 (12:34 +0000)]
SIGWINCH/NOACCEPT signal is disabled now in non-daemon mode.
Non-daemon mode is currently used by supervisord, daemontools and so on
or during debugging. The NOACCEPT signal is only used for online upgrade
which is not supported when nginx is run under supervisord, etc.,
so this change should not break existant setups.

14 years agoThe change in adaptive loader behaviour introduced in r3975:
Igor Sysoev [Mon, 22 Aug 2011 10:16:49 +0000 (10:16 +0000)]
The change in adaptive loader behaviour introduced in r3975:
now cache loader processes either as many files as specified by loader_files
or works no more than time specified by loader_threshold during each iteration.

loader_threshold was previously used to decrease loader_files or
to increase loader_timeout and this might eventually result in
downgrading loader_files to 1 and increasing loader_timeout to large values
causing loading cache for forever.

14 years agoFix buffer overrun under Windows.
Maxim Dounin [Mon, 22 Aug 2011 10:07:27 +0000 (10:07 +0000)]
Fix buffer overrun under Windows.