Thanks to contribution, Fapws has sockets capabilities

26 views
Skip to first unread message

william opensource4you

unread,
Dec 17, 2011, 2:44:45 PM12/17/11
to fapws
Hi all,

I would just to inform that thanks to K3d3, we have now socket
capabilities within Fapws.

In other words, no more needed to reserve a port for your Fapws server.
Now you can use a socket ;-).

You could use it with most of the major Webserver front end (ngnix,
... ) and of course with pound ( my favorite front end).

With Pound you have to do it like this:
"
Service
BackEnd
Address /tmp/server.sock
End
End
"
If your FapwsServer points to /tmp/server.sock.


To perform test, socat is also a good alternative:
"
socat tcp-l:8080,reuseaddr,fork unix:/tmp/server.sock
"


With this feature, we can run lot of Fapws servers and 1 frontend
without reserving too much ports.

I've perform tests on Linux machine without any issue ;-)
The others should work too.

William


Github: https://github.com/william-os4y/fapws3/commits/master

Reply all
Reply to author
Forward
0 new messages