# Nginx-0.9.0

**URL:** <https://www.ruby-forum.com/t/nginx-0-9-0/199807>\
**Category:** NGINX\
**Created:** [November 29, 2010, 4:38pm UTC](https://www.ruby-forum.com/t/nginx-0-9-0/199807 "2010-11-29T16:38:07Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/77aa72/32.png) [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Post date:** [November 29, 2010, 4:38pm UTC](https://www.ruby-forum.com/t/nginx-0-9-0/199807/1 "2010-11-29T16:38:07Z")

</div>

Changes with nginx 0.9.0 29 Nov  
2010

```
*) Feature: the "keepalive_disable" directive.

*) Feature: the "map" directive supports variables as value of a
   defined variable.

*) Feature: the "map" directive supports empty strings as value of 

```

the  
first parameter.

```
*) Feature: the "map" directive supports expressions as the first
   parameter.

*) Feature: nginx(8) manual page.
   Thanks to Sergey Osokin.

*) Feature: Linux accept4() support.
   Thanks to Simon L..

*) Workaround: elimination of Linux linker warning about 

```

“sys\_errlist”  
and “sys\_nerr”; the warning had appeared in 0.8.35.

```
*) Bugfix: a segmentation fault might occur in a worker process, if 

```

the  
“auth\_basic” directive was used.  
Thanks to Michail Laletin.

```
*) Bugfix: compatibility with ngx_http_eval_module; the bug had
   appeared in 0.8.42.

```

–  
Igor S.  
[http://sysoev.ru/en/](http://sysoev.ru/en/)

---

<div class="post-metadata">

**Author:** ![imixaly4](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3ab097/32.png) [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Post date:** [November 29, 2010, 5:40pm UTC](https://www.ruby-forum.com/t/nginx-0-9-0/199807/2 "2010-11-29T17:40:53Z")

</div>

On Mon, Nov 29, 2010 at 11:36 PM, Igor S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> \*) Feature: the “map” directive supports expressions as the first  
> parameter.

Are there any examples using the new map features? (couldn’t find it in  
[GitHub - nginxinc/nginx-wiki: ARCHIVED -- Source for the now archived NGINX Wiki section of https://www.nginx.com · GitHub](http://wiki.nginx.org/HttpMapModule)).  
Thanks!

---

<div class="post-metadata">

**Author:** ![imixaly4](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3ab097/32.png) [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Post date:** [November 29, 2010, 7:28pm UTC](https://www.ruby-forum.com/t/nginx-0-9-0/199807/3 "2010-11-29T19:28:47Z")

</div>

seems like zlib problem on slow connection still exists,  
may be better to include Maxim’s FIX it in current version?  
I found discussion in online archive, patch is there.

> **[Z\_BUF\_ERROR nginx 0.8.53](https://forum.nginx.org/read.php?2,151781)**
>
> Hi, I have a lot errors about \*1281 deflate() failed: 2, -5 while reading upstream, .... blah... blah.... blah I've checked what -5 means and this is just empty buffer for deflate (Z\_BUF\_ERROR): checked how other software handling this error and...

---

<div class="post-metadata">

**Author:** ![imixaly4](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3ab097/32.png) [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Post date:** [November 29, 2010, 8:56pm UTC](https://www.ruby-forum.com/t/nginx-0-9-0/199807/4 "2010-11-29T20:56:44Z")

</div>

On Mon, 2010-11-29 at 18:36 +0300, Igor S. wrote:

> ```
> *) Bugfix: compatibility with ngx_http_eval_module; the bug had
> appeared in 0.8.42.
> 
> ```

Hi Igor,

Can you elaborate a bit on what this issue was? I know there was an  
issue introduced around this same time that affected some other 3rd  
party modules having to do with filters no longer receiving NGX\_AGAIN or  
something (my memory on this is vague).

Regards,  
Cliff

–  
Cliff W. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![imixaly4](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3ab097/32.png) [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Post date:** [November 29, 2010, 8:42pm UTC](https://www.ruby-forum.com/t/nginx-0-9-0/199807/5 "2010-11-29T20:42:16Z")

</div>

On Tue, Nov 30, 2010 at 12:39:17AM +0800, David Yu wrote:

> On Mon, Nov 29, 2010 at 11:36 PM, Igor S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > Changes with nginx 0.9.0 29 Nov  
> > 2010
> > 
> > \*) Feature: the “keepalive\_disable” directive.
> > 
> > \*) Feature: the “map” directive supports variables as value of a  
> > defined variable.

map $one $two {  
default $three; # $three  
1 $four; # $four  
…  
}

> > \*) Feature: the “map” directive supports empty strings as value of the  
> > first parameter.

map $one $two {  
“” none; # “”  
…  
}

> > \*) Feature: the “map” directive supports expressions as the first  
> > parameter.

map “$one$some” $two {  
…  
}

> Are there any examples using the new map features? (couldn’t find it in  
> [GitHub - nginxinc/nginx-wiki: ARCHIVED -- Source for the now archived NGINX Wiki section of https://www.nginx.com · GitHub](http://wiki.nginx.org/HttpMapModule)).

–  
Igor S.

> **[Igor Sysoev](http://sysoev.ru/en/)**

---

<div class="post-metadata">

**Author:** ![imixaly4](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3ab097/32.png) [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Post date:** [November 29, 2010, 9:34pm UTC](https://www.ruby-forum.com/t/nginx-0-9-0/199807/6 "2010-11-29T21:34:22Z")

</div>

On Mon, Nov 29, 2010 at 11:55:39AM -0800, Cliff W. wrote:

> On Mon, 2010-11-29 at 18:36 +0300, Igor S. wrote:
> 
> > ```
> > *) Bugfix: compatibility with ngx_http_eval_module; the bug had
> > appeared in 0.8.42.
> > 
> > ```
> 
> Hi Igor,
> 
> Can you elaborate a bit on what this issue was? I know there was an  
> issue introduced around this same time that affected some other 3rd  
> party modules having to do with filters no longer receiving NGX\_AGAIN or  
> something (my memory on this is vague).

Modules those work in rewrite phase now should return NGX\_DONE instead  
of  
NGX\_AGAIN. Before 0.8.42 NGX\_DONE did the same as NGX\_AGAIN. Since  
0.8.42  
NGX\_AGAIN is processed in a different way.

–  
Igor S.

> **[Igor Sysoev](http://sysoev.ru/en/)**

---

<div class="post-metadata">

**Author:** ![imixaly4](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3ab097/32.png) [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Post date:** [November 29, 2010, 8:59pm UTC](https://www.ruby-forum.com/t/nginx-0-9-0/199807/7 "2010-11-29T20:59:54Z")

</div>

On Tue, Nov 30, 2010 at 3:40 AM, Igor S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > > ```
> > > defined variable.
> > > 
> > > ```
> 
> }

Thanks!

---

<div class="post-metadata">

**Author:** ![imixaly4](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3ab097/32.png) [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Post date:** [November 30, 2010, 3:54am UTC](https://www.ruby-forum.com/t/nginx-0-9-0/199807/8 "2010-11-30T03:54:11Z")

</div>

Igor S. at 2010-11-29 23:36 wrote:

> ```
> *) Feature: the "map" directive supports expressions as the first
> 
> *) Bugfix: a segmentation fault might occur in a worker process, if the
> "auth_basic" directive was used.
> Thanks to Michail Laletin.
> 
> *) Bugfix: compatibility with ngx_http_eval_module; the bug had
> appeared in 0.8.42.
> 
> ```

The source code of 0.9.0 does not appear in the download page:

> **[nginx: download](http://nginx.org/en/download.html)**

But the URL is ok: [http://nginx.org/download/nginx-0.9.0.tar.gz](http://nginx.org/download/nginx-0.9.0.tar.gz)

–  
Weibin Y.

---

<div class="post-metadata">

**Author:** ![imixaly4](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3ab097/32.png) [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Post date:** [November 30, 2010, 5:51am UTC](https://www.ruby-forum.com/t/nginx-0-9-0/199807/9 "2010-11-30T05:51:24Z")

</div>

Nuno Magalhães at 2010-11-30 12:09 wrote:

> 

Oh, my fault, just ignore it. This page is cached in my browser.

–  
Weibin Y.

---

<div class="post-metadata">

**Author:** ![imixaly4](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3ab097/32.png) [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Post date:** [November 30, 2010, 5:11am UTC](https://www.ruby-forum.com/t/nginx-0-9-0/199807/10 "2010-11-30T05:11:38Z")

</div>

On Tue, Nov 30, 2010 at 02:52, Weibin Y. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> The source code of 0.9.0 does not appear in the download page:  
> [nginx: download](http://nginx.org/en/download.html)
> 
> But the URL is ok: [http://nginx.org/download/nginx-0.9.0.tar.gz](http://nginx.org/download/nginx-0.9.0.tar.gz)

What do you mean “source code”? The link to the tarball is the first  
one, under “development versions”, right in front of “CHANGES”.

–  
Mars 2 Stay!

> **[Golden Hammer](https://xkcd.com/801/)**

/etc

---

<div class="post-metadata">

**Author:** ![imixaly4](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3ab097/32.png) [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Post date:** [December 3, 2010, 4:21am UTC](https://www.ruby-forum.com/t/nginx-0-9-0/199807/11 "2010-12-03T04:21:30Z")

</div>

Hey, in nginx 0.9.x, the man page is still “nginx 8”. Could u upgrade  
that?

Posted at Nginx Forum:

> **[Re: nginx-0.9.0](https://forum.nginx.org/read.php?2,154123,155173#msg-155173)**
>
> Changes with nginx 0.9.0 29 Nov 2010 \*) Feature: the "keepalive\_disable" directive. \*) Feature: the "map" directive supports variables as value of a defined variable. \*) Featu

---

<div class="post-metadata">

**Author:** ![imixaly4](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3ab097/32.png) [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Post date:** [December 2, 2010, 5:07pm UTC](https://www.ruby-forum.com/t/nginx-0-9-0/199807/12 "2010-12-02T17:07:48Z")

</div>

Thanks for the info. ^^"

Posted at Nginx Forum:

> **[Re: nginx-0.9.0](https://forum.nginx.org/read.php?2,154123,155083#msg-155083)**
>
> Changes with nginx 0.9.0 29 Nov 2010 \*) Feature: the "keepalive\_disable" directive. \*) Feature: the "map" directive supports variables as value of a defined variable. \*) Featu

---

<div class="post-metadata">

**Author:** ![imixaly4](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3ab097/32.png) [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Post date:** [December 3, 2010, 6:38am UTC](https://www.ruby-forum.com/t/nginx-0-9-0/199807/13 "2010-12-03T06:38:49Z")

</div>

On Thu, Dec 02, 2010 at 10:19:26PM -0500, speedfirst wrote:

> Hey, in nginx 0.9.x, the man page is still “nginx 8”. Could u upgrade  
> that?

8 is not version number, but the man section number.

–  
Igor S.

> **[Igor Sysoev](http://sysoev.ru/en/)**

---

<div class="post-metadata">

**Author:** ![imixaly4](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3ab097/32.png) [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Post date:** [December 3, 2010, 5:15am UTC](https://www.ruby-forum.com/t/nginx-0-9-0/199807/14 "2010-12-03T05:15:26Z")

</div>

## speedfirst Wrote:

> Hey, in nginx 0.9.x, the man page is still “nginx  
> 8”. Could u upgrade that?

It should be upgraded…

[[color=#F8FAF8]newegg  
promo code[/color]](http://neweggcouponcode.com/newegg.com/)  
[[color=#F8FAF8]iphone 4  
cases[/color]](http://www.iphonecasedepot.com)  
[[color=#F8FAF8]caribbean  
resorts[/color]](http://www.caribbean-tour.com/Caribbean-Hotels-and-Resorts.html)

Posted at Nginx Forum:  
[http://forum.nginx.org/read.php?2,154123,155179#msg-155179](http://forum.nginx.org/read.php?2,154123,155179#msg-155179)
