logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: Request for mod_websocket_tcp_proxy
Author
davidng



Joined: 17 Jun 2012
Posts: 8

PostPosted: Sat 23 Jun '12 15:29    Post subject: Reply with quote

Thanks for your great work on compiling the apache-websocket.

Is it possible to compile this as well ?
http://blog.alex.org.uk/2012/02/16/using-apache-websocket-to-proxy-tcp-connection/

It is a example of the apache-websocket.
What this does is: Proxy a websocket, so that application like nodejs will work at the same port as apache.
1: apache listen at port 80,
2: nodejs listen at port 8080,
3: http://localhost/chat.htm is a socket.io, and make a websocket connection to apache port 80 with the path http://localhost/socket.io/xxxxx
4: when apache detect the path /socket.io/, it will proxy this websocket connection to port 8080.
5: the nodejs get the request and response back.
6: the apache websocket proxy get the response, and send the result to the client.
7: the http://localhost/chat.htm display the result.

The latest source can be download at http://blog.alex.org.uk/wp-uploads/extility-libapache2-mod-websocket.tar.gz
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3092
Location: Hilversum, NL, EU

PostPosted: Sat 23 Jun '12 20:18    Post subject: Reply with quote

This is a hacked Git version, and has on older date 19 February versus 5 March. Plus it includes mod_websocket_tcp_proxy mod_websocket_vnc_proxy and other changes in the sources.

He says it is a fork: What I did was fork my own code.

Also : Apologies for not giving you this in git format but it’s currently in work svn, which is not helpful, and I’ve no time to go fiddle with git now.

mod_websocket_tcp_proxy is not building with the Git version, given errors.

So better to wait when it appears in Git https://github.com/disconnect/apache-websocket , looks like he is planning that.

Steffen
Back to top
davidng



Joined: 17 Jun 2012
Posts: 8

PostPosted: Sun 24 Jun '12 6:06    Post subject: Reply with quote

I have look all over the internet, it seems mod_websocket_tcp_proxy is the only "modifed" module which proxy the websocket within apache.

Is it possible to make a exception and compile this module as a modified version ?
http://blog.alex.org.uk/wp-uploads/extility-libapache2-mod-websocket.tar.gz
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3092
Location: Hilversum, NL, EU

PostPosted: Sun 24 Jun '12 11:55    Post subject: Reply with quote

As I said it is not building and policy is that we do not change code.

I shall contact the author.

Steffen
Back to top
davidng



Joined: 17 Jun 2012
Posts: 8

PostPosted: Sun 24 Jun '12 13:34    Post subject: Reply with quote

Thanks, you are the best. Mr. Green
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3092
Location: Hilversum, NL, EU

PostPosted: Sun 24 Jun '12 14:10    Post subject: Reply with quote

Get an answer from the Author, he has not a Windows. dev environment and looks he is not taken action, what I understand.

Looked at his code, it is not that clean code. And Visual C++ is mostly more strict then compilers on other platforms.

Steffen
Back to top
davidng



Joined: 17 Jun 2012
Posts: 8

PostPosted: Sun 24 Jun '12 14:28    Post subject: Reply with quote

oh... too bad.
Back to top


Reply to topic   Topic: Request for mod_websocket_tcp_proxy View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules