Re: Configuring proxy_wstunnel_module on trunk

2013-03-18 Thread Jim Jagielski
ProxyPass /whatever ws://websocket-srvr.example/com/ Basically, the new submodule adds the 'ws' and 'wss' scheme to the allowed protocols between the client and the backend, so you tell Apache that you'll be talking 'ws' with the backend (same as ajp://whatever sez that httpd will be talking

Re: Configuring proxy_wstunnel_module on trunk

2013-03-18 Thread Nathan Quinlan
Comforting to know I'm not the only one but I will try your location settings. The issue is that I have to use the Location tags because I want to have HTTP Digest authentication present thus protecting the static files as well as Tomcat. However I have found that under ws_tunnel the

Re: Configuring proxy_wstunnel_module on trunk

2013-03-18 Thread Nathan Quinlan
Seems to work fine with the correct Location settings. ;) However I have found that when proxying to Tomcat 7 (what I'm testing with) the tunnel lasts for about 20 seconds or so and then terminates. After a few reloads it appears as though Tomcat still has the socket open (as timeout I setup to

Re: Configuring proxy_wstunnel_module on trunk

2013-03-18 Thread Jamie Johnson
I haven't done any serious testing but haven't seen this in my simple application. I will try to duplicate the issue with the snakes example and see where I land. Perhaps this is something that one of the devs can shed more light on though. On Mon, Mar 18, 2013 at 11:59 AM, Nathan Quinlan

Re: Configuring proxy_wstunnel_module on trunk

2013-03-18 Thread Jim Jagielski
I cannot recreate either. Anything in the log (debug level) which may be pertinent? On Mar 18, 2013, at 12:43 PM, Jamie Johnson jej2...@gmail.com wrote: I haven't done any serious testing but haven't seen this in my simple application. I will try to duplicate the issue with the snakes

Re: mod_proxy_websocket

2013-03-18 Thread Stefan Fritsch
On Wednesday 06 March 2013, Micha Lenk wrote: However, using mod_websocket from the mentioned Github location, I discovered that it has timeout issues when mod_reqtimeout is loaded too (unless request body timeouts are disabled). Apparently mod_reqtimeout now enforces timeouts in

Re: svn commit: r1458003 - /httpd/httpd/trunk/server/util_expr_eval.c

2013-03-18 Thread Graham Leggett
On 18 Mar 2013, at 11:13 PM, s...@apache.org wrote: Author: sf Date: Mon Mar 18 21:13:31 2013 New Revision: 1458003 URL: http://svn.apache.org/r1458003 Log: simplify code by using ap_bin2hex() -for (idx = 0; idx APR_SHA1_DIGESTSIZE; idx++) { -*hash++ = hex[sha1[idx] 4];

Re: svn commit: r1458003 - /httpd/httpd/trunk/server/util_expr_eval.c

2013-03-18 Thread Stefan Fritsch
On Monday 18 March 2013, Graham Leggett wrote: This code came from mod_auth_digest, which could probably also be simplified: Done, thanks.

Re: svn commit: r1451478 - /httpd/httpd/trunk/server/util_script.c

2013-03-18 Thread Stefan Fritsch
On Thursday 14 March 2013, you wrote: BTW, I tried to activate pool debug with using |-enable-pool-debug=all but the server crashes while starting on my test machine. Do you know if it is supposed to work (and I do something wrong) or no one uses it with httpd ? I am sure that I have used

Re: Configuring proxy_wstunnel_module on trunk

2013-03-18 Thread Nathan Quinlan
Really? Hmm. Location /examples ProxyPass http://localhost:8080/examples ProxyPassReverse http://localhost:8080/examples ProxyPass ws://localhost:8080/examples ProxyPassReverse ws://localhost:8080/examples /Location Debug did show something interesting.

Re: Configuring proxy_wstunnel_module on trunk

2013-03-18 Thread Nathan Quinlan
mod_reqtimeout Once disabled the websockets are fine. On 2013-03-18, at 1:50 PM, Jim Jagielski wrote: I cannot recreate either. Anything in the log (debug level) which may be pertinent? On Mar 18, 2013, at 12:43 PM, Jamie Johnson jej2...@gmail.com wrote: I haven't done any serious