stream_until_token() has an unknown bug, sometimes missing the token #10

Closed
opened 2015-07-08 14:42:48 +12:00 by mikedilger · 2 comments
mikedilger commented 2015-07-08 14:42:48 +12:00 (Migrated from github.com)

I think it is happening when the buffer drains and refills, but I'm not sure yet.
I'm working on it.

I think it is happening when the buffer drains and refills, but I'm not sure yet. I'm working on it.
mikedilger commented 2015-07-08 16:17:50 +12:00 (Migrated from github.com)

After a lot of testing, it appears this is actually bug #1

The buffer gets smaller and smaller as we parse bits off of it, and eventually it very well could be shorter than the size of the token. Closing in favour of #1

After a lot of testing, it appears this is actually bug #1 The buffer gets smaller and smaller as we parse bits off of it, and eventually it very well could be shorter than the size of the token. Closing in favour of #1
alanstockwell commented 2015-07-08 16:19:44 +12:00 (Migrated from github.com)

Thank god! peasant rejoicing

Thank god! _peasant rejoicing_
This discussion has been locked. Commenting is limited to contributors.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mikedilger/formdata#10
No description provided.