Skip to content

Multiple fragments in multiple connections issue #13

@Nosfi

Description

@Nosfi

I already solved this issue but i cannot commit here...

When a Snep LLcp connection becomes active we need to reset the fragment reader, so it considers the fragment counts, complete, etc... correctly

To make it work i changed:

From 'AbstractSnepImpl':

@Override
public void onLlcpActive(Llcp llcp) {
    reader.reset();
}

From 'FragmentReader':

public void reset() {
    out.reset();
    fragmentCount = 0;
}

Hope it helps someone...

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