Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Copy link
Copy link
@dmitry-chukanov

Description

@dmitry-chukanov
Issue body actions

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.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    flaky-testIssues and PRs related to the tests with unstable failures on the CI.Issues and PRs related to the tests with unstable failures on the CI.linuxIssues and PRs related to the Linux platform.Issues 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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.