Skip to content

Commit 5b5c7e4

Browse files
Merge pull request #105 from neo4j-php/handshake-update
Removed message fragmentation for handshake
2 parents e58f31d + aba3d0b commit 5b5c7e4

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)