Skip to content

Compression methods in BaseHttpTransaction use wrong size #30

@TechnikEmpire

Description

@TechnikEmpire

Compression/decompression methods use the ::size() member of the m_transactionData vector instead of checking m_unwrittenPayloadSize. ::size() is unreliable because the payload storage vector is almost always going to be larger than actual valid data, due to how the buffer works.

Also, m_unwrittenPayloadSize. is not adjusted to reflect the size of the decompressed payload.

Fixed in next commit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions