Skip to content

instream() fails to detect "INSTREAM size limit exceeded. ERROR" as BufferTooLongError #24

@nilstoedtmann

Description

@nilstoedtmann

instream() keeps looping through the chunks until the end of the buffer, even if the clamd services responds with INSTREAM size limit exceeded. ERROR halfway through. The clamd service then closes the connection, and instream() gets an I/O exception like BrokenPipeError and never reaches the code that translates INSTREAM size limit exceeded. ERROR message into a BufferTooLongError exception.

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