Skip to content

RecordingOutputStream can affect tcp packets sent in an undesirable way #38

@nlevitt

Description

@nlevitt

Looking at a heritrix request with tcpdump, you can see that a separate tcp packet is sent for each of the characters 'G' 'E' 'T' ' ' '/' ' ' 'H' 'T' 'T'... at the beginning of each http request. We ran into a website that responds with a 400 to these requests. Besides, it's inefficient and ugly to be sending all these little packets. The culprit is a shortcut in my own code in RecordingOutputStream.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions