Skip to content

Bug in the ServletReadListener #1

@burmanm

Description

@burmanm

Hi,

There's a bug in the ServletReadListener, the while loop should check for:

in.isReady() && !in.isFinished() && !subscriber.isUnsubscribed()

As in.isReady() returns true on EOF (and that means you'll end up in a infinite loop). That's why you need to check for in.isFinished()

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