# Ngx\_echo v0.36: bugfixes in the last 5 months

**URL:** <https://www.ruby-forum.com/t/ngx-echo-v0-36-bugfixes-in-the-last-5-months/209217>\
**Category:** NGINX\
**Created:** [July 8, 2011, 10:20am UTC](https://www.ruby-forum.com/t/ngx-echo-v0-36-bugfixes-in-the-last-5-months/209217 "2011-07-08T10:20:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [July 8, 2011, 10:20am UTC](https://www.ruby-forum.com/t/ngx-echo-v0-36-bugfixes-in-the-last-5-months/209217/1 "2011-07-08T10:20:44Z")

</div>

Hi, there!

I’m happy to announce the v0.36 release of the ngx\_echo module, which  
includes the various bugfixes in the last 5 months.

You can get the release tarball from the download page below

[https://github.com/agentzh/echo-nginx-module/downloads](https://github.com/agentzh/echo-nginx-module/downloads)

Here’s the complete change log for this release:

- now we back-ported the subrequest mechanism of ngx\_lua to ngx\_echo.  
this also helps some crazy test cases of deep-recursively mixing  
echo\_location and echo\_location\_async pass now.

- now echo\_location and its friends can work with ngx\_xss (as well as  
other output filter modules) completely. thanks wd for reporting this  
issue.

- done some minor optimization when modifying subrequest’s  
Content-Length header.

- now we always pad a trailing \0 to filepath in  
“echo\_subrequest(\_async) METHOD /path -f filepath” because  
ngx\_open\_cached\_file requires a C string file name. thanks dr-dr xp.

- made our filter optimization works with nginx HUP by clearing the  
ngx\_http\_echo\_filter\_used flag at nginx pre-config callback. thanks  
Marcus C…

The echo module wraps lots of Nginx internal APIs for streaming input  
and output, parallel/sequential subrequests, timers and sleeping, as  
well as various meta data accessing. You can read the full  
documentation on the following wiki page:

[HTTP Echo Module | NGINX](http://wiki.nginx.org/HttpEchoModule)

and you can always get the latest source code from GitHub:

[GitHub - openresty/echo-nginx-module: An Nginx module for bringing the power of "echo", "sleep", "time" and more to Nginx's config file](http://github.com/agentzh/echo-nginx-module)

The ngx\_echo module is included and enabled by default in our  
ngx\_openresty bundle: [http://openresty.org](http://openresty.org)

Happy echoing!

Best regards,  
-agentzh
