Skip to content

Conversation

@bneradt
Copy link
Contributor

@bneradt bneradt commented Jan 6, 2023

While adding test coverage around #9229, it was found that ATS will crash if the server both replies early to a request (i.e., starts replying before the body of the request is received), and then aborts early. This addresses that crash.


For Review

Unfortunately, github isn't recognizing that I renamed the test utility slow_post_client.py to slow_post_clients.py, and that I then re-purposed a new slow_post_client.py for this test. Thus:

  • slow_post_clients.py is an unmodified rename from slow_post_client.py. There's nothing really to review with the contents of that file.
  • slow_post_client.py is a new file. Trying to read the diff from old to new is not helpful since the contents are brand new.

@bneradt bneradt added the Crash label Jan 6, 2023
@bneradt bneradt added this to the 10.0.0 milestone Jan 6, 2023
@bneradt bneradt requested a review from maskit January 6, 2023 14:46
@bneradt bneradt self-assigned this Jan 6, 2023
@bneradt bneradt force-pushed the fix_server_early_abort_crash branch from 36e0235 to c87cb3a Compare January 6, 2023 16:10
While adding test coverage around apache#9229, it was found that ATS will
crash if the server both replies early to a request (i.e., starts
replying before the body of the request is received), and then aborts
early. This addresses that crash.
@bneradt bneradt force-pushed the fix_server_early_abort_crash branch from c87cb3a to dab7195 Compare January 6, 2023 16:14
@bneradt bneradt merged commit 931e9ac into apache:master Jan 7, 2023
@bneradt bneradt deleted the fix_server_early_abort_crash branch January 7, 2023 14:17
zwoop pushed a commit that referenced this pull request Jan 10, 2023
While adding test coverage around #9229, it was found that ATS will
crash if the server both replies early to a request (i.e., starts
replying before the body of the request is received), and then aborts
early. This addresses that crash.

(cherry picked from commit 931e9ac)
@zwoop
Copy link
Contributor

zwoop commented Jan 10, 2023

Cherry-picked to v9.2.x

@zwoop zwoop modified the milestones: 10.0.0, 9.2.0 Jan 10, 2023
masaori335 pushed a commit to masaori335/trafficserver that referenced this pull request Feb 21, 2023
* asf/9.2.x:
  Updated ChangeLog
  Documentation-only changes from apache#9282 for 9.2.x (apache#9291)
  Fix a crash from a server early abort (apache#9287)
  Skip dns_host_down autest from 9.2.x branch (apache#9286)
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.

3 participants