Skip to content

coredump with option immediate and linger setted #2590

@laplaceyang

Description

@laplaceyang

I set immediate = 1 and linger = 100, then my application always coredump in timer_event

qq 20170601103417

It seems the reconnect function of session_base implement incorrect.
image
In first block of this function, we set pipe to NULL, but has not cancel_timer. Thus, if the linger timer tiggered , we will get coredump.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions