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

Add uws transformer #454

Merged
merged 3 commits into from Apr 12, 2016
Merged

Add uws transformer #454

merged 3 commits into from Apr 12, 2016

Conversation

lpinca
Copy link
Member

@lpinca lpinca commented Apr 10, 2016

This adds a new transfomer called uws which is the successor of lws.

@lpinca lpinca force-pushed the uws branch 2 times, most recently from 07795fc to be3d6e4 Compare April 12, 2016 05:58
// Listen to upgrade requests.
//
this.on('upgrade', function upgrade(req, soc, head) {
this.service.onConnection(function create(socket) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not totally happy with adding a new connection handler for each upgrade request, but right now this is what the interface offers.

See https://github.com/alexhultman/uWebSockets/issues/45.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yuck.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@3rd-Eden do you think it will be better to go with something like this https://github.com/alexhultman/uWebSockets/issues/45#issuecomment-208740046?

@lpinca lpinca changed the title [WIP] Add uws transformer Add uws transformer Apr 12, 2016
@lpinca
Copy link
Member Author

lpinca commented Apr 12, 2016

I think this is ready to be reviewed.

@3rd-Eden 3rd-Eden merged commit 1bc071f into master Apr 12, 2016
@3rd-Eden 3rd-Eden deleted the uws branch April 12, 2016 08:46
@3rd-Eden
Copy link
Member

Reviewed, merged, ready for a new minor

@lpinca lpinca mentioned this pull request Apr 12, 2016
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

Successfully merging this pull request may close these issues.

None yet

2 participants