Skip to content

Commit

Permalink
Fix assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
kelunik committed Jan 17, 2020
1 parent 02241ee commit a78fc65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Connection/Internal/Http2ConnectionProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ public function handleHeaders(int $streamId, array $pseudo, array $headers, bool
return;
}

\assert($stream->preResponseResolution);
\assert($stream->preResponseResolution === null);

$stream->preResponseResolution = call(function () use ($stream, $streamId) {
try {
Expand Down

0 comments on commit a78fc65

Please sign in to comment.