##
##  Open LiteSpeed is an open source HTTP server.                           *
##  Copyright (C) 2014  LiteSpeed Technologies, Inc.                        *
##
##  LiteSpeed Node.js implementation note...
##  This is sample implementation on how the LiteSpeed pass control to Node.js.
##
##  binding.gyp - binding (makefile) for Node.js C++ 
##  lsnodeapi.cc - Node.js V8 C++ addon
##  lsnodesrv.js - Java Script to run any java script inside the sandbox
##  myfirst.js - Java Script for testing purpose
##
##  (1) Need to install the LiteSpeed Node.js handler
## 
##  (2) Compile C++ addon module (binding.gyp, lsnodeapi.cc) for Node.js.
##      need: binding.gyp and lsnodeapi.cc
##         ./deps/npm/bin/node-gyp-bin/node-gyp --debug configure build
##  (3) Need to run LiteSpeed Java Script Server 
##          node lsnodesrv.js /home/user/lsws/socket/LS_NODE
##  (4) Testing the connection.
##          curl -i http://localhost:8088/myfirst.js
##
##  Note - 
##      The LiteSpeed handler and litespeed.js should agree on the server_path.
##      Currently I hard coded the path
##          server_path = "/home/user/lsws/socket/LS_NODE";
##      We should use the user parameters instead.
##
##

