Commit Graph
100 Commits
Author SHA1 Message Date
Igor Sysoev 30e26a8c57 Core: signal sender pid logging. 2017-04-20 13:58:16 +03:00
Igor Sysoev b55cd3f876 Events: ngx_event_t size reduction by grouping bit fields. 2015-05-15 17:15:33 +03:00
Igor Sysoev 415c8ec4b4 A bounds check of %N format on Windows.
Thanks to Joe Bialek, Adam Zabrocki and Microsoft Vulnerability Research.
2015-01-27 15:38:15 +03:00
Igor Sysoev da130acfbe Fixed failure to start cache manager and cache loader processes
if there were more than 512 listening sockets in configuration.
2012-11-20 13:37:55 +00:00
Igor Sysoev 992a4d11da Disabled gzip compression in OpenSSL prior to 1.0.0 version.
This saves about 522K per connection.
2012-06-20 12:55:28 +00:00
Igor Sysoev c7bb66a9a3 Fix of "%f" format handling.
ngx_sprintf("%.2f", 0.999) incorrectly resulted in "0.100" instead of "1.00".
2012-04-23 11:11:32 +00:00
Igor Sysoev 3ef52765c8 Fixed debug logging. 2012-04-10 11:28:59 +00:00
Igor Sysoev 654a56e06a Fixed previous commit. 2012-04-10 11:27:43 +00:00
Igor Sysoev cbc51bb295 Fixed mp4 module seek. 2012-04-10 11:21:47 +00:00
Igor Sysoev 380198ff82 2012 year. 2012-01-16 14:31:15 +00:00
Igor Sysoev 79df789b47 Fix of mp4 module seeking. 2011-11-23 07:22:15 +00:00
Igor Sysoev 95d76a96ed release-1.1.8 tag 2011-11-14 15:38:02 +00:00
Igor Sysoev 43d1df8563 nginx-1.1.8-RELEASE 2011-11-14 15:37:54 +00:00
Igor Sysoev 07bb4ed971 Introduction of simple ngx_write_stderr() instead of ngx_log_stderr()
for output of ./configure options, etc., since ngx_log_stderr() output
length is limited by 2048 characters defined as NGX_MAX_ERROR_STR.
2011-11-14 14:59:00 +00:00
Igor Sysoev dd4490c4e4 Fix of "Content-Length" header of MP4 response if start argument was used.
Patch by Piotr Sikora.
2011-11-14 14:42:48 +00:00
Igor Sysoev eb499bab59 Fixed compression pointer processing in DNS response greater than 255 bytes.
Thanks to Ben Hawkes.
2011-11-09 13:54:07 +00:00
Igor Sysoev d0bcad3445 Fix of "keepalive_disable" directive. 2011-11-08 13:48:23 +00:00
Igor Sysoev a8963fbbcf The "image_filter_sharpen" directive. 2011-11-08 13:17:14 +00:00
Igor Sysoev ff2bee1fa9 Ancient incomplete ngx_http_status_module removal. 2011-11-01 15:16:28 +00:00
Igor Sysoev 0d03a44aab Version bump. 2011-11-01 15:10:46 +00:00
Igor Sysoev 5f9da550aa release-1.1.7 tag 2011-10-31 14:52:53 +00:00
Igor Sysoev 6955d9179a nginx-1.1.7-RELEASE 2011-10-31 14:52:46 +00:00
Igor Sysoev a2ffa56106 Silently ignoring a stale global SSL error left after disabled renegotiation. 2011-10-31 14:30:03 +00:00
Igor Sysoev 200a0d8656 Adding m4a and m4v MIME types (closed #42). 2011-10-28 15:24:31 +00:00
Igor Sysoev cfd5148e88 Fix of building by Microsoft Visual C++ 10 compiler. 2011-10-26 08:16:59 +00:00
Igor Sysoev 59695881ce Decrease of log level of some SSL handshake errors. 2011-10-25 15:04:09 +00:00
Igor Sysoev 620718102b Support of several servers in the "resolver" directive.
Patch by Kirill A. Korinskiy.
2011-10-24 16:09:05 +00:00
Igor Sysoev ba71972b21 Using of junk value in slab allocator similar to modern FreeBSD values. 2011-10-24 15:50:19 +00:00
Igor Sysoev efc6ecab82 malloc() debugging on MacOSX. 2011-10-24 15:46:48 +00:00
Igor Sysoev b9c859e6d5 FreeBSD's MALLOC_OPTIONS must be set before any malloc() call.
The bug has been introduced in r3799.
2011-10-24 12:59:01 +00:00
Igor Sysoev 5f81070523 Fixing conflict with SDK off_t definition. 2011-10-20 07:12:45 +00:00
Igor Sysoev 1472e7964b Recent SDKs allow to build IPV6 only for Windows XP or above. 2011-10-20 07:00:04 +00:00
Igor Sysoev 249d72b7fb Removal of incomplete draft documentation processing. 2011-10-17 15:42:12 +00:00
Igor Sysoev 6242f77617 Version bump. 2011-10-17 15:39:59 +00:00
Igor Sysoev 2fe4009182 release-1.1.6 tag 2011-10-17 15:10:31 +00:00
Igor Sysoev 9c64f87c51 nginx-1.1.6-RELEASE 2011-10-17 15:10:23 +00:00
Igor Sysoev 79dce6824c Moving RELEASE target in more safe place. 2011-10-17 15:09:34 +00:00
Igor Sysoev d51bcf6f63 Skipping location rewrite phase for server null location. 2011-10-13 12:43:22 +00:00
Igor Sysoev bfe7be45b8 Preallocating exact number of default MIME types entries. 2011-10-12 09:19:57 +00:00
Igor Sysoev 0d19f020ba Fixing directive name in error message if types hash size is not enough. 2011-10-11 11:11:44 +00:00
Igor Sysoev 840ef3980c Fixing mp4 module seeking on 32-bit platforms. 2011-10-11 10:12:44 +00:00
Igor Sysoev 94b5460c70 Releasing memory of idle SSL connection. This saves about 34K per SSL
connection. The SSL_MODE_RELEASE_BUFFERS option is available since
OpenSSL 1.0.0d.
2011-10-07 12:15:20 +00:00
Igor Sysoev 95084f7e1c Disabling SSL compression. This saves about 300K per SSL connection.
The SSL_OP_NO_COMPRESSION option is available since OpenSSL 1.0.0.
2011-10-07 10:59:02 +00:00
Igor Sysoev 3f34960fde Version bump. 2011-10-07 10:41:13 +00:00
Igor Sysoev 344f4fb74c Adding repository path missed in r4179. 2011-10-06 13:09:00 +00:00
Igor Sysoev fc35bf6434 release-1.1.5 tag 2011-10-05 14:46:09 +00:00
Igor Sysoev 6ef5a8d298 nginx-1.1.5-RELEASE 2011-10-05 14:44:11 +00:00
Igor Sysoev 290ad9c012 Adding RELEASE procedure in GNUmakefile. 2011-10-05 13:24:32 +00:00
Igor Sysoev ab0078a4c8 Version bump. 2011-10-05 13:13:25 +00:00
Igor Sysoev f3ae6a6102 Using strtod() instead of atofp() to support a lot of digits after dot in
"start" parameter value.
2011-09-30 09:18:28 +00:00
Igor Sysoev a40e7eed30 Fix of building on platforms with 32-bit off_t. (closed #23) 2011-09-29 15:19:36 +00:00
Igor Sysoev 457f60ae0f release-1.1.4 tag 2011-09-20 11:18:32 +00:00
Igor Sysoev e70ed7936a nginx-1.1.4-RELEASE 2011-09-20 11:18:24 +00:00
Igor Sysoev c8df23cb29 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.
2011-09-20 07:30:09 +00:00
Igor Sysoev aa997c0289 Fixing Linux AIO initiatialization: AIO operations are disabled if kernel
does not support them.  Previously worker just exited.
2011-09-16 13:41:52 +00:00
Igor Sysoev 4134b48b68 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.
2011-09-16 12:43:16 +00:00
Igor Sysoev 57b4fdb6c8 MP4 co64 atom support added. 2011-09-15 13:23:03 +00:00
Igor Sysoev c940f5fc99 Fix of struct field name. 2011-09-15 05:15:16 +00:00
Igor Sysoev 1fc9a8dec6 Style fix. 2011-09-14 15:26:11 +00:00
Igor Sysoev acdac73688 Fixing building by gcc-4.7. 2011-09-14 15:25:46 +00:00
Igor Sysoev 4a383594fb Version bump. 2011-09-14 15:20:01 +00:00
Igor Sysoev 66659e0689 release-1.1.3 tag 2011-09-14 15:00:51 +00:00
Igor Sysoev 0c54cce4e1 nginx-1.1.3-RELEASE 2011-09-14 15:00:43 +00:00
Igor Sysoev 9c5d25179c Fix of the previous commit: is_directio flag processing introduced in r4077
is still worthwhile.
2011-09-14 14:28:55 +00:00
Igor Sysoev 7ffb73c6b7 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.
2011-09-14 14:12:35 +00:00
Igor Sysoev 2cc42b74c7 Skipping traks with unsupported media formats. 2011-09-14 14:04:41 +00:00
Igor Sysoev dcea2ce7d1 Fix of case when start sample does not reside on chunk boundary. 2011-09-14 05:16:20 +00:00
Igor Sysoev f824fb47fe Fix of debug message format. 2011-09-12 15:15:00 +00:00
Igor Sysoev d44855067d Fix of codec debug message. 2011-09-12 14:54:28 +00:00
Igor Sysoev 3d9ae84bf9 Fix of error message. 2011-09-12 14:46:06 +00:00
Igor Sysoev 7e8ee656a8 Fix of error message. 2011-09-12 13:06:22 +00:00
Igor Sysoev e07a3577a9 mp4_max_moov_size directive has been renamed to mp4_max_buffer_size. 2011-09-12 09:38:04 +00:00
Igor Sysoev b1c79a449e bugfix of r4086: nginx could not be built without debug log. 2011-09-09 11:56:49 +00:00
Igor Sysoev 5d01ac5af3 Bugfix of r4086: directio was always enabled if mp4 file was sent as is. 2011-09-09 11:13:55 +00:00
Igor Sysoev 2d06be2437 "video/mp4" mime type added. 2011-09-09 10:25:43 +00:00
Igor Sysoev dde4d7e300 ngx_http_mp4_module 2011-09-09 10:22:34 +00:00
Igor Sysoev 3a73e50498 Version bump. 2011-09-05 16:26:51 +00:00
Igor Sysoev b8819911ed release-1.1.2 tag 2011-09-05 13:14:34 +00:00
Igor Sysoev 526cf6b068 nginx-1.1.2-RELEASE 2011-09-05 13:14:27 +00:00
Igor Sysoev 09be2f18c5 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 f560419c54 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 e81c293289 Style fix: removal of tabs introduced in the previous commit. 2011-08-31 09:26:07 +00:00
Igor Sysoev 65b1592d02 *) 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 1f3280bae2 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 e766153451 ngx_http_range_parse() should be static. 2011-08-30 13:07:33 +00:00
Igor Sysoev 9162057731 Ranges processing small optimization. 2011-08-30 13:06:12 +00:00
Igor Sysoev 451df22b3f Now unsatisfiable ranges are processed according to RFC 2616. 2011-08-30 13:01:55 +00:00
Igor Sysoev 584703b84a Ranges processing small optimization. 2011-08-30 12:45:24 +00:00
Igor Sysoev f2575bd878 Style fix. 2011-08-30 12:28:01 +00:00
Igor Sysoev c2c3e3105f 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 8b2bf08165 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
Igor Sysoev 631fa929d3 Version bump. 2011-08-23 14:22:34 +00:00
Igor Sysoev 4ef830d7b8 Removing incomplete draft documentation from release tarball and zip. 2011-08-23 13:35:02 +00:00
Igor Sysoev 6b77c085be Grammar fixes in CHANGES. 2011-08-23 13:29:47 +00:00
Igor Sysoev 03228790c6 CHANGES conversion from KOI8-R to UTF-8. 2011-08-23 12:50:54 +00:00
Igor Sysoev ae6eba4f16 Grammar fixes in CHANGES. 2011-08-23 10:18:35 +00:00
Igor Sysoev 4e80f39ff0 XSLT regeneration for the previous commit. 2011-08-23 10:11:09 +00:00
Igor Sysoev 99d42788b2 Traling spaces removal in text CHANGES files. 2011-08-23 10:10:25 +00:00
Igor Sysoev 92a2f9d6e0 XSLT regeneration for r4023. 2011-08-23 09:48:44 +00:00
Igor Sysoev fd478a7425 release-1.1.1 tag 2011-08-22 13:56:14 +00:00