Skip to content

Commit

Permalink
Fix event transitions for CONNECT
Browse files Browse the repository at this point in the history
  • Loading branch information
kelunik committed Sep 5, 2023
1 parent 74dbfd7 commit 9cd91e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Connection/Http1Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,8 @@ private function writeRequest(
events()->requestHeaderEnd($request, $stream);

if ($request->getMethod() === 'CONNECT') {
events()->requestBodyStart($request, $stream);
events()->requestBodyEnd($request, $stream);
return;
}

Expand Down

0 comments on commit 9cd91e1

Please sign in to comment.