Skip to content

Commit aba3d0b

Browse files
Removed message fragmentation for handshake
1 parent e58f31d commit aba3d0b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Bolt.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,7 @@ private function handshake(): string
112112
if (self::$debug)
113113
echo 'HANDSHAKE';
114114

115-
$this->connection->write(chr(0x60) . chr(0x60) . chr(0xb0) . chr(0x17));
116-
$this->connection->write($this->packProtocolVersions());
115+
$this->connection->write(chr(0x60) . chr(0x60) . chr(0xb0) . chr(0x17) . $this->packProtocolVersions());
117116

118117
$bytes = $this->connection->read(4);
119118
if ($bytes == 'HTTP')

0 commit comments

Comments
 (0)