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

Destorying null #89

Closed
bugfixerdude opened this issue Jul 13, 2014 · 1 comment
Closed

Destorying null #89

bugfixerdude opened this issue Jul 13, 2014 · 1 comment

Comments

@bugfixerdude
Copy link

When proxying through sinopia, trying to download express. I excountered an exception in
lib/middleware.js on line 155, for some reason the res.socket was null, thus trying to destroy it resulted in a termination of sinopia.

A quick fix was:
if (res.socket != null)
return res.socket.destroy()
return ""

@rlidwka
Copy link
Owner

rlidwka commented Jul 21, 2014

Thanks, I added this code to repository.

We had some issues with it as well, but I'm not sure why it happens.

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