Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

http-bind crash #15

Open
DJaeger opened this issue Feb 20, 2013 · 3 comments
Open

http-bind crash #15

DJaeger opened this issue Feb 20, 2013 · 3 comments

Comments

@DJaeger
Copy link

DJaeger commented Feb 20, 2013

The node module / server crashes if you try to open /http-bind twice directly, e.g. in the Browser:
http-bind

I think it's a big security leak.

@szimek
Copy link
Owner

szimek commented Feb 20, 2013

I opened 4 tabs with http://localhost:9677/http-bind and it didn't crash, though they never finished loading :)

The server/proxy provided here is just for making it easier for people to check out Ember app/widget, it's not meant to be used in production. Usually you'll already have some app server running and you can use something more reliable like e.g. haproxy to proxy /http-bind requests to XMPP server and others to your app server.

@DJaeger
Copy link
Author

DJaeger commented Feb 20, 2013

Sorry, i meant twice successively.

But this does not mean, that you can't make it usable for produktion.
Is the goal of this repository to demonstrate Strophe.js and Ember.js or to make a chat-app?

@szimek
Copy link
Owner

szimek commented Feb 20, 2013

Sorry, i meant twice successively.

I opened http://localhost:9677/http-bind in a single tab and reloaded it few times - still didn't crash, so you'll have to provide some more details.

But this does not mean, that you can't make it usable for produktion.

Sure.

Is the goal of this repository to demonstrate Strophe.js and Ember.js or to make a chat-app?

Both, but to be honest I don't think I'll have enough free time in the near future to make it a full-featured chat app. However, I'd really like to add at least some features like handling avatars, loading archived messages, reloading opened tabs on page reload etc.

I was also thinking about hosting it somewhere (either with a full XMPP server, or just a BOSH proxy connected to some existing XMPP server like GTalk), so that more people can check it out and eventually contribute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants