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

src: unconsume stream fix #11015

Closed
wants to merge 1 commit into from
Closed

Commits on Jan 29, 2017

  1. src: unconsume stream fix

    When emitting a 'connection' event on a httpServer, the function connectionListener is called.
    Then, a new parser is created, and 'consume' method is called on the
    socket's externalStream. However, if this stream was already consumed and unconsumed,
    the process crashes with a cpp assert from the 'Consume' method in
    stream_base.h. This commit makes sure that no SIGABRT will be raised
    and the process will stay alive (after emitting the socket).
    Kasher committed Jan 29, 2017
    Configuration menu
    Copy the full SHA
    00a6340 View commit details
    Browse the repository at this point in the history