Skip to content

Destorying null #89

@bugfixerdude

Description

@bugfixerdude

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 ""

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions