# Nginx\_hmux\_module - support hmux protocol proxy with Nginx

**URL:** <https://www.ruby-forum.com/t/nginx-hmux-module-support-hmux-protocol-proxy-with-nginx/213441>\
**Category:** NGINX\
**Created:** [November 2, 2011, 7:33am UTC](https://www.ruby-forum.com/t/nginx-hmux-module-support-hmux-protocol-proxy-with-nginx/213441 "2011-11-02T07:33:04Z")\
**Posts on this page:** 5\
**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:** [November 2, 2011, 7:33am UTC](https://www.ruby-forum.com/t/nginx-hmux-module-support-hmux-protocol-proxy-with-nginx/213441/1 "2011-11-02T07:33:04Z")

</div>

With this module, Nginx can connect to Resin through hmux protocol  
directly.  
You also can use tcpcopy to test this module.

nginx\_hmux\_module:  
[GitHub - session-replay-tools/nginx-hmux-module: The module implements resin's hmux protocol in nginx](https://github.com/wangbin579/nginx-hmux-module) or  
[http://code.google.com/p/nginx-hmux-module/](http://code.google.com/p/nginx-hmux-module/)  
tcpcopy:  
[GitHub - wangbin579/tcpcopy: An online request replication tool, also a tcp stream replay tool, fit for real testing, performance testing, stability testing, stress testing, load testing, smoke testing, etc](https://github.com/wangbin579/tcpcopy) or  
[Google Code Archive - Long-term storage for Google Code Project Hosting.](http://code.google.com/p/tcpcopy/)

Posted at Nginx Forum:

> **[nginx\_hmux\_module - support hmux protocol proxy with Nginx](https://forum.nginx.org/read.php?2,217681,217681#msg-217681)**
>
> With this module, Nginx can connect to Resin through hmux protocol directly. You also can use tcpcopy to test this module. nginx\_hmux\_module: https://github.com/wangbin579/nginx-hmux-module or http://code.google.com/p/nginx-hmux-module/ tcpcopy:...

---

<div class="post-metadata">

**Author:** ![wangbin579](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/bc79bd/32.png) [@wangbin579](https://www.ruby-forum.com/u/wangbin579)\
**Post date:** [November 2, 2011, 2:14pm UTC](https://www.ruby-forum.com/t/nginx-hmux-module-support-hmux-protocol-proxy-with-nginx/213441/2 "2011-11-02T14:14:58Z")

</div>

On Wed, Nov 2, 2011 at 2:32 PM, wangbin579 [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> With this module, Nginx can connect to Resin through hmux protocol  
> directly.

Cool. Do you know where I can some documentation on the hmux protocol  
(already tried googling)?  
Judging by the name “mux”, I couldn’t help but think this is a binary  
protocol with multiplexing+keep-alive (w/c is awesome if it is).

---

<div class="post-metadata">

**Author:** ![wangbin579](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/bc79bd/32.png) [@wangbin579](https://www.ruby-forum.com/u/wangbin579)\
**Post date:** [November 3, 2011, 4:00am UTC](https://www.ruby-forum.com/t/nginx-hmux-module-support-hmux-protocol-proxy-with-nginx/213441/3 "2011-11-03T04:00:08Z")

</div>

source code from mod\_caucho.c (apache module) and resin source code

Posted at Nginx Forum:

> **[Re: nginx\_hmux\_module - support hmux protocol proxy with Nginx](https://forum.nginx.org/read.php?2,217681,217733#msg-217733)**
>
> With this module, Nginx can connect to Resin through hmux protocol directly. You also can use tcpcopy to test this module. nginx\_hmux\_module: https://github.com/wangbin579/nginx-hmux-module or http://code.google.com/p/nginx-hmux-module/ tcpcopy:...

---

<div class="post-metadata">

**Author:** ![wangbin579](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/bc79bd/32.png) [@wangbin579](https://www.ruby-forum.com/u/wangbin579)\
**Post date:** [November 8, 2011, 3:46am UTC](https://www.ruby-forum.com/t/nginx-hmux-module-support-hmux-protocol-proxy-with-nginx/213441/4 "2011-11-08T03:46:15Z")

</div>

this module is running stable in a large project for more than 2 months

Posted at Nginx Forum:

> **[Re: nginx\_hmux\_module - support hmux protocol proxy with Nginx](https://forum.nginx.org/read.php?2,217681,217955#msg-217955)**
>
> With this module, Nginx can connect to Resin through hmux protocol directly. You also can use tcpcopy to test this module. nginx\_hmux\_module: https://github.com/wangbin579/nginx-hmux-module or http://code.google.com/p/nginx-hmux-module/ tcpcopy:...

---

<div class="post-metadata">

**Author:** ![wangbin579](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/bc79bd/32.png) [@wangbin579](https://www.ruby-forum.com/u/wangbin579)\
**Post date:** [November 8, 2011, 3:49am UTC](https://www.ruby-forum.com/t/nginx-hmux-module-support-hmux-protocol-proxy-with-nginx/213441/5 "2011-11-08T03:49:57Z")

</div>

this module has been running stably in a large project for more than 2  
months

Posted at Nginx Forum:

> **[Re: nginx\_hmux\_module - support hmux protocol proxy with Nginx](https://forum.nginx.org/read.php?2,217681,217956#msg-217956)**
>
> With this module, Nginx can connect to Resin through hmux protocol directly. You also can use tcpcopy to test this module. nginx\_hmux\_module: https://github.com/wangbin579/nginx-hmux-module or http://code.google.com/p/nginx-hmux-module/ tcpcopy:...
