Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
ctiller committed Jun 16, 2024
1 parent 612b788 commit 3e2a80b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/core/lib/transport/call_filters.cc
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ Poll<StatusFlag> CallState::PollPushClientToServerMessage() {
case ClientToServerPushState::kFinished:
return Failure{};
}
Crash("Unreachable");
}

void CallState::ClientToServerHalfClose() {
Expand Down Expand Up @@ -460,6 +461,7 @@ Poll<ValueOrFailure<bool>> CallState::PollPullClientToServerMessageAvailable() {
client_to_server_pull_state_ = ClientToServerPullState::kTerminated;
return Failure{};
}
Crash("Unreachable");
}

void CallState::FinishPullClientToServerMessage() {
Expand Down Expand Up @@ -568,6 +570,7 @@ Poll<StatusFlag> CallState::PollPushServerToClientMessage() {
case ServerToClientPushState::kFinished:
return Failure{};
}
Crash("Unreachable");
}

bool CallState::PushServerTrailingMetadata(bool cancel) {
Expand Down Expand Up @@ -671,6 +674,7 @@ Poll<bool> CallState::PollPullServerInitialMetadataAvailable() {
case ServerToClientPushState::kTrailersOnly:
return false;
}
Crash("Unreachable");
}

void CallState::FinishPullServerInitialMetadata() {
Expand Down Expand Up @@ -774,6 +778,7 @@ Poll<ValueOrFailure<bool>> CallState::PollPullServerToClientMessageAvailable() {
server_to_client_pull_waiter_.Wake();
return Failure{};
}
Crash("Unreachable");
}

void CallState::FinishPullServerToClientMessage() {
Expand Down Expand Up @@ -849,6 +854,7 @@ Poll<Empty> CallState::PollServerTrailingMetadataAvailable() {
case ServerToClientPullState::kTerminated:
return Empty{};
}
Crash("Unreachable");
}

void CallState::FinishPullServerTrailingMetadata() {
Expand Down Expand Up @@ -890,6 +896,7 @@ Poll<bool> CallState::PollWasCancelled() {
case ServerTrailingMetadataState::kPulledCancel:
return true;
}
Crash("Unreachable");
}

std::string CallState::DebugString() const {
Expand Down

0 comments on commit 3e2a80b

Please sign in to comment.