# Ngx\_echo module v0.37 released!

**URL:** <https://www.ruby-forum.com/t/ngx-echo-module-v0-37-released/215708>\
**Category:** NGINX\
**Created:** [January 13, 2012, 10:11am UTC](https://www.ruby-forum.com/t/ngx-echo-module-v0-37-released/215708 "2012-01-13T10:11:18Z")\
**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:** [January 13, 2012, 10:11am UTC](https://www.ruby-forum.com/t/ngx-echo-module-v0-37-released/215708/1 "2012-01-13T10:11:18Z")

</div>

Hi, folks!

I’m happy to announce the v0.37 release of the ngx\_echo module, which  
includes lots of bugfixes in the last 6 months.

You can get the release tarball from the download page below

[Tags · openresty/echo-nginx-module · GitHub](https://github.com/agentzh/echo-nginx-module/tags)

Here’s the complete change log for this release (compared to the last  
release, v0.36):

- bugfix: data truncation might occur with echo\_after\_body in  
not-so-good networks (we should be prepared for NGX\_AGAIN returned by  
downstream output filters). thanks Kindy Lin for reporting it.

- bugfix: we no longer check sync buffers for subrequests because it  
is incorrect.

- bugfix: fixed a bug when sending out response headers: we did not  
take into account the NGX\_ERROR error code returned by  
ngx\_http\_send\_header.

- bugfix: we did not work with HEAD http requests before.

- bugfix: now we carefully eliminate empty flush buffers in  
echo\_after\_body to work around a long-standing bug in the standard  
HttpGzipModule.

- bugfix: we might send empty chain link in echo\_after\_body because it  
may trigger the infamous “the http output chain is empty” alert in  
error.log when the standard HttpSsiModule is disabled. thanks Sparsh  
Gupta.

- bugfix: we did not set subrequest’s Content-Length request headers  
which could cause problems in the backends.

- bugfix: echo\_exec + named locations might cause weird issues and now  
we explicitly clear all the modules’ contexts before calling  
ngx\_http\_named\_location.

- bugfix: echo\_exec might hang when running after echo\_sleep (or other  
I/O interruption calls): we should have called  
ngx\_http\_finalize\_request on NGX\_DONE to decrement r-\>main-\>count  
anyway.

- bugfix: there was a memory issue in both echo\_sleep and  
echo\_blocking\_sleep: we should not pass ngx\_str\_t strings to atof()  
which expects C strings.

- bugfix: some users report that this module cannot be compiled with  
Nginx 1.0.x on their systems due to ngx\_time\_update (as in github  
issue #7). this is a blind attemp to fix it because we could not  
reproduce it on our side.

- bugfix: fixed places in the source code that we did not check null  
pointers returned by the memory allocator.

You can also view the HTML-version of the change log here (which may  
look better):

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

The ngx\_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!  
-agentzh
