Skip to content

Undefined constant in client.js #189

Description

@aquiot-inc

There is a small bug in _receiveData method of client.js

Original line:

    if (buffer.length < baBvlc.BVLC_HEADER_LENGTH) return debug('Received invalid data -> Drop package');

The constant BVLC_HEADER_LENGTH is in baEnum, not baBvlc

Should be:

    if (buffer.length < baEnum.BVLC_HEADER_LENGTH) return debug('Received invalid data -> Drop package');

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions