Skip to content

Commit 261965c

Browse files
author
jin
committed
+2
1 parent 9b94f8e commit 261965c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rest/server/server.node.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ namespace $ {
191191

192192
if( this._ws_icome_partial.length ) {
193193
this._ws_icome_partial.push( chunk )
194-
chunk = Buffer.alloc( msg_size )
194+
chunk = Buffer.alloc( patial_size + chunk.byteLength )
195195
let offset = 0
196196
for( const buf of this._ws_icome_partial.splice( 0 ) ) {
197197
chunk.set( buf, offset )

0 commit comments

Comments
 (0)