Skip to content

Pipelined request hangs after the idle connection closes #552

Closed

Description

@Mzack9999

PipelineClient stops its worker when the connection has been idle, but leaves the request channels set. The next request is written to those channels and blocks, because a new worker is started only when the channels are nil. If a request is still queued, the channels are discarded and that request never returns. Nuclei templates with pipeline enabled hang when two sends are further apart than the idle timeout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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