Skip to content

test-http-header-overflow has passed only if socket buffer is more than 16Kb #46291

Description

@dmitry-chukanov

Test

test-http-header-overflow

Platform

Linux x64

Console output

No response

Build links

Additional information

If socket buffer is less or equal than 16Kb then overflowed HTTP header (its size >16Kb) has two chunks: the first one is read from the socket and all is good, but after second chunk reading we have throw error (we wait this error) with data buffer only from second chunk. But we try to validate not only the error code, but also whole data buffer with overflowed HTTP header. But current error object has not whole data buffer, it has only second chunk from posix read() and test is fail.
The most simple way to fix - don't check data (bytesParsed and rawPacket) at error, check only name, message and code. But perhaps there is more complex way to solve this problem.

Activity

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

    flaky-testIssues and PRs involving tests that fail intermittently in CI.linuxIssues and PRs related to the Linux platform.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions