Skip to content

Conversation

@maskit
Copy link
Member

@maskit maskit commented Jan 17, 2022

Using Http1ClientTransaction as an event hander (in other words, passing it to do_io_read as a continuation) does not make sense because it does not have code for event handling.

The point of this do_io_read seems to be passing 0 and nullptr as the 2nd and 3rd argument, but not changing the continuation, and the original continuation here is probably always HttpSM.

This closes #8604.

@maskit maskit added the Crash label Jan 17, 2022
@maskit maskit added this to the 10.0.0 milestone Jan 17, 2022
@maskit maskit requested a review from zwoop as a code owner January 17, 2022 05:46
@maskit maskit self-assigned this Jan 17, 2022
@zwoop zwoop merged commit b9f0019 into apache:master Jan 18, 2022
zwoop pushed a commit that referenced this pull request Jan 18, 2022
@zwoop
Copy link
Contributor

zwoop commented Jan 18, 2022

Cherry-picked to v9.2.x

@zwoop zwoop modified the milestones: 10.0.0, 9.2.0 Jan 18, 2022
moonchen pushed a commit to moonchen/trafficserver that referenced this pull request Mar 17, 2022
* asf/9.2.x:
  Updated ChangeLog
  TSHttpTxnCacheLookupStatusGet: handle cannot respond cases (apache#8545)
  Update to Proxy Verifier version v2.3.0 (apache#8608)
  Don't use Http1ClientTransaction as an event handler (apache#8609)
  Eliminate erroneous self-loop error on transparent mode (apache#8586)
  Clean up of next hop HostRecord class. (apache#8585)
  Propagate accept options to HTTP/2 (apache#8594)
  add --with-mimalloc option (apache#8233)
  Fix transparent mode documentation (apache#8593)
  Docs: Slack instead of irc (apache#8599)
  LogFilter: fix NULL termination check (apache#8603)
  Fixes a scoping bug that leads to "sticky" weights (apache#8606)
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.

Crashes on Http1ClientTransaction::handleEvent

3 participants