Skip to content
This repository has been archived by the owner on Sep 24, 2022. It is now read-only.

Replace IOLoop.update_handler with remove_handler and add_handler #38

Merged
merged 1 commit into from
Jan 6, 2013
Merged

Replace IOLoop.update_handler with remove_handler and add_handler #38

merged 1 commit into from
Jan 6, 2013

Conversation

boringcrypto
Copy link
Contributor

Using IOLoop.update_handler was causing issues with Exception handling in tornado.gen in the host application to the extend that the errors were returned on the wrong RequestHandler. Even other code errors. I assume it has something to do with the StackContext. add_handler creates a new StackContext, but update_handler doesn't.

…g in tornado.gen in the host application to the extend that the errors were returned on the wrong RequestHandler. I assume it has something to do with the StackContext.
FSX added a commit that referenced this pull request Jan 6, 2013
Replace IOLoop.update_handler with remove_handler and add_handler
@FSX FSX merged commit 7ad5f5c into FSX:master Jan 6, 2013
@FSX
Copy link
Owner

FSX commented Jan 6, 2013

Thanks! :)

@FSX
Copy link
Owner

FSX commented Jan 6, 2013

Hey, I made a few changes your pull request after I looked at the code more carefully. Here's the commit, everything is explained in the commit message: 92940db. It's in the develop branch for now.

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

Successfully merging this pull request may close these issues.

2 participants