sheebz / phantom-proxy

a lightweight proxy that lets you to drive phantomjs from node.
MIT License
137 stars 34 forks source link

proxy-object should only be created if the server is listening #62

Closed hereandnow closed 10 years ago

hereandnow commented 11 years ago

otherwise this module will not work in a clustered application.

probably the whole ensureServerRunning and pingServer stuff should be removed in proxy.js. i dont see a reason why it shouldn't use all events which a http-Server emits (listening, error, close and so on). i just left it where it is, you decide how you want to handle it

sheebz commented 10 years ago

merged