Commit graph

3904 commits

Author SHA1 Message Date
Ruslan Ermilov
d627a9d08a HTTP errors are now output as "code (text)". 2011-09-12 09:48:33 +00:00
Igor Sysoev
72a0e6b2ff mp4_max_moov_size directive has been renamed to mp4_max_buffer_size. 2011-09-12 09:38:04 +00:00
Igor Sysoev
c9eff09c04 bugfix of r4086: nginx could not be built without debug log. 2011-09-09 11:56:49 +00:00
Igor Sysoev
3049d5b079 Bugfix of r4086: directio was always enabled if mp4 file was sent as is. 2011-09-09 11:13:55 +00:00
Igor Sysoev
e6828627d7 "video/mp4" mime type added. 2011-09-09 10:25:43 +00:00
Igor Sysoev
97b9bde764 ngx_http_mp4_module 2011-09-09 10:22:34 +00:00
Ruslan Ermilov
78af402ae5 Regenerate after previous commits. 2011-09-08 13:28:25 +00:00
Ruslan Ermilov
ed6bc906fe Cleaned up links. 2011-09-08 13:27:18 +00:00
Ruslan Ermilov
e22b65d209 Regenerate after previous commit. 2011-09-08 13:26:37 +00:00
Ruslan Ermilov
0db92e7d5a Basic inter-document and external linking support. 2011-09-08 13:26:06 +00:00
Ruslan Ermilov
134f6e5f0a Regenerate after previous commit. 2011-09-06 13:43:04 +00:00
Ruslan Ermilov
cf38eb8e59 Finished initial translation of the Core and HTTP Core modules. 2011-09-06 13:42:40 +00:00
Ruslan Ermilov
0f08a4f1bc Regenerate after previous commit. 2011-09-06 10:42:17 +00:00
Ruslan Ermilov
c9e169e0d6 New elements: "dq", "pathname"; new list type: "tag". 2011-09-06 10:41:44 +00:00
Maxim Dounin
e725734d23 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.
2011-09-05 16:36:19 +00:00
Igor Sysoev
cc810027b8 Version bump. 2011-09-05 16:26:51 +00:00
Igor Sysoev
30a73a9b3b release-1.1.2 tag 2011-09-05 13:14:34 +00:00
Igor Sysoev
2242c127e4 nginx-1.1.2-RELEASE 2011-09-05 13:14:27 +00:00
Maxim Dounin
9b09a660d2 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.
2011-09-05 12:43:31 +00:00
Ruslan Ermilov
23443b6c16 Regenerate after previous commit. 2011-09-05 09:58:31 +00:00
Ruslan Ermilov
96bcf5255f Translate "types" and "underscores_in_headers" directives. 2011-09-05 09:58:00 +00:00
Ruslan Ermilov
a833f47c06 Regenerate HTML for the previous revision. 2011-09-05 09:40:50 +00:00
Ruslan Ermilov
9c1d3e7188 Initial English translation of Core and HTTP Core modules. 2011-09-05 09:39:24 +00:00
Ruslan Ermilov
f397eb62a4 XSLT regeneration for the previous commit. 2011-09-05 09:33:54 +00:00
Ruslan Ermilov
4ef437eb26 DTD and XSLS changes for modules. 2011-09-05 09:32:00 +00:00
Maxim Dounin
ecfe0113d6 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.
2011-09-01 15:10:41 +00:00
Maxim Dounin
253721c4b0 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.
2011-09-01 13:49:36 +00:00
Igor Sysoev
ebc3990334 Now if client requests more ranges than "max_ranges" permits,
nginx disables ranges and returns just the source response.
2011-09-01 13:03:55 +00:00
Igor Sysoev
990a7d7fa5 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.
2011-08-31 09:40:55 +00:00
Igor Sysoev
b8c461aa54 Style fix: removal of tabs introduced in the previous commit. 2011-08-31 09:26:07 +00:00
Igor Sysoev
4476ee96c8 *) 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.
2011-08-30 20:34:58 +00:00
Igor Sysoev
5726f0d357 Unsatisfiable range with start value greater than content length
was not properly skipped. The bug has been introduced in r4057.
2011-08-30 14:25:35 +00:00
Igor Sysoev
060297520c ngx_http_range_parse() should be static. 2011-08-30 13:07:33 +00:00
Igor Sysoev
95d4ca17b8 Ranges processing small optimization. 2011-08-30 13:06:12 +00:00
Igor Sysoev
559cd34ba9 Now unsatisfiable ranges are processed according to RFC 2616. 2011-08-30 13:01:55 +00:00
Igor Sysoev
2fb9408b38 Ranges processing small optimization. 2011-08-30 12:45:24 +00:00
Igor Sysoev
8b30429bd1 Style fix. 2011-08-30 12:28:01 +00:00
Igor Sysoev
cbbf90d9b8 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.
2011-08-26 09:42:50 +00:00
Igor Sysoev
d7c1fe5f5b 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.
2011-08-25 17:29:34 +00:00
Maxim Dounin
8f54c88bdd 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.
2011-08-23 14:36:31 +00:00
Igor Sysoev
cb0498da6c Version bump. 2011-08-23 14:22:34 +00:00
Ruslan Ermilov
6db2ed0cfb Restore the lost negation. 2011-08-23 13:39:22 +00:00
Igor Sysoev
5b129859e5 Removing incomplete draft documentation from release tarball and zip. 2011-08-23 13:35:02 +00:00
Igor Sysoev
6afda56a48 Grammar fixes in CHANGES. 2011-08-23 13:29:47 +00:00
Igor Sysoev
69954e741c CHANGES conversion from KOI8-R to UTF-8. 2011-08-23 12:50:54 +00:00
Igor Sysoev
0bc89850bb Grammar fixes in CHANGES. 2011-08-23 10:18:35 +00:00
Igor Sysoev
6a904d417f XSLT regeneration for the previous commit. 2011-08-23 10:11:09 +00:00
Igor Sysoev
0a4c8438b6 Traling spaces removal in text CHANGES files. 2011-08-23 10:10:25 +00:00
Igor Sysoev
b587ba834c XSLT regeneration for r4023. 2011-08-23 09:48:44 +00:00
Ruslan Ermilov
1b075335d6 Get rid of " <br/>" hacks. 2011-08-23 09:01:13 +00:00