Skip to content
This repository was archived by the owner on Oct 30, 2024. It is now read-only.

Commit 47974cf

Browse files
committed
Merge branch 'master' of github.com:repejota/phpnats into develop
2 parents 376794a + 9b64a1a commit 47974cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Connection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ private function receive($len = null)
187187
$receivedBytes = 0;
188188
while ($receivedBytes < $len) {
189189
$bytesLeft = $len - $receivedBytes;
190-
if ( $bytesLeft < 1500 ) {
190+
if ( $bytesLeft < $this->chunkSize ) {
191191
$chunkSize = $bytesLeft;
192192
}
193193

0 commit comments

Comments
 (0)