Skip to content

Flush buffers on receiving a pull request, even if buffers are not full #22

@shahifaqeer

Description

@shahifaqeer

we only flush buffers when (previous buffer) + data > BUFFER_SIZE. This condition also sets the 'more_data' flag for header encoding. But when the client receives a packet with 'more_data' set, they will issue a pull request. The server should flush out the buffers even if they are not full on getting such a request.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions