Latest in branch 1.2 (Stable)
1.2.9
Released 13 May 2013
(13 years ago)
SoftwareNGINX OSS
Version1.2 (Stable)
Status
End of life
Initial release1.2.0
23 Apr 2012
(14 years ago)
Latest release1.2.9
13 May 2013
(13 years ago)
End of security fixes24 Apr 2013
(Ended 13 years, 1 month ago)
Release noteshttps://nginx.org/en/CHANGES
Source codehttps://github.com/nginx/nginx/tree/release-1.2.0
Documentationhttps://nginx.org/en/docs/
NGINX OSS 1.2 (Stable) ReleasesView full list

What Is New in NGINX 1.2

NGINX 1.2 introduces a significant protocol upgrade and several core enhancements focused on performance and modern web standards. The key additions include experimental SPDY support, improved streaming, and better handling of request body filtering.

Category Changes
New Features Experimental SPDY module, byte-range support in the MP4 module, proxy_request_buffering directive.
Core Improvements IPv6 DNS resolution, SSL SNI support on Windows, AIO operations on precompressed data.
Bug Fixes Fixes for memory leaks, worker process hangs, and specific SSL handshake issues.

What are the major new features in 1.2?

The headline feature is the experimental SPDY module, which allows NGINX to serve requests over the SPDY protocol for faster page loading. This version also added byte-range support for the MP4 module, enabling efficient seeking in video streams. The new proxy_request_buffering directive gives more control over how request bodies are handled when proxying.

How did core functionality improve?

Core enhancements include full IPv6 support for DNS resolution, which is crucial for modern networking. SSL Server Name Indication (SNI) support was added for the Windows version, aligning it with the Unix build. Asynchronous I/O operations were also extended to work with precompressed data files, improving efficiency for static content delivery.

What critical bugs were fixed?

This release addressed several stability issues, including a memory leak that occurred when using the sub_filter directive and a bug that could cause a worker process to hang during an SSL handshake. These fixes made the 1.2.x branch significantly more reliable for production use, especially under heavy load with SSL termination.

FAQ

Is the SPDY support in 1.2 production-ready?
No, it was explicitly marked as experimental. In practice, we used it for testing but waited for more mature implementations in later versions before deploying it on critical infrastructure.

Why is the proxy_request_buffering off directive important?
It allows NGINX to start sending data to a backend server immediately, which is essential for real-time applications like chat or video uploading where you can't wait for the entire request body to be received first.

Does the MP4 module change affect all video files?
It specifically enables byte-range requests for .mp4 files. This matters because it allows clients to skip to different parts of a video without downloading the entire file, which is the foundation for efficient video streaming.

Was Windows considered a first-class platform in this release?
The addition of SSL SNI support was a major step towards parity. However, the Windows version still lagged behind in performance and features compared to the Unix versions at the time.

What was the impact of the SSL handshake bug fix?
It resolved a specific issue where a worker could become unresponsive. This was a big deal for high-traffic sites because a stuck worker process could eventually lead to service degradation until it was manually killed and restarted.

Releases In Branch 1.2 (Stable)

VersionRelease date
1.2.913 May 2013
(13 years ago)
1.2.823 Apr 2012
(14 years ago)
1.2.723 Apr 2012
(14 years ago)
1.2.623 Apr 2012
(14 years ago)
1.2.523 Apr 2012
(14 years ago)
1.2.423 Apr 2012
(14 years ago)
1.2.323 Apr 2012
(14 years ago)
1.2.223 Apr 2012
(14 years ago)
1.2.023 Apr 2012
(14 years ago)