Skip to content

Conversation

@shinrich
Copy link
Member

@shinrich shinrich commented Jun 9, 2020

There was some concern that the fixes to proxy.config.http.connect_attempts_timeout made in 2018 that enabled this timeout to track the connect timeout rather than time to first byte (TTFB) weren't really working.

The previous test wasn't accurately exercising the SYN timeout. To do that, you need privilege to block the SYN-ACK. This test uses network namespace and virtual connections to set up a place to attach iptable filter rules to drop the SYN and exercise the SYN timeout case.

The test is turned off by default since we cannot assume privilege when running within CI. But you should be able to enable and run this in your linux environment (providing ip netns).

@shinrich shinrich added the AuTest label Jun 9, 2020
@shinrich shinrich added this to the 10.0.0 milestone Jun 9, 2020
@shinrich shinrich self-assigned this Jun 9, 2020
@shinrich shinrich force-pushed the fix-timeout-test branch 2 times, most recently from f5b7f65 to a89b1fc Compare June 9, 2020 21:29
@maskit
Copy link
Member

maskit commented Jun 10, 2020

[approve ci autest]

Rerunning autest because actual tests were skipped.
https://ci.trafficserver.apache.org/job/autest-github/13446/console

@shinrich
Copy link
Member Author

[approve ci autest]

@shinrich
Copy link
Member Author

Closed in preference to PR #6897

@shinrich shinrich closed this Jun 15, 2020
@maskit maskit removed this from the 10.0.0 milestone Jun 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants