Skip to content

Correct a bug occurring when the underlying file object is filling very ...#1

Merged
Smerity merged 1 commit into
commoncrawl:masterfrom
palkeo:master
Jan 18, 2015
Merged

Correct a bug occurring when the underlying file object is filling very ...#1
Smerity merged 1 commit into
commoncrawl:masterfrom
palkeo:master

Conversation

@palkeo

@palkeo palkeo commented Nov 21, 2014

Copy link
Copy Markdown

...fast.

It is possible that « unused_raw » contains more than one end of stream and start of another. We need to restart the decoder while there are unused data at the end.

This caused a strange bug when using that to stream a commoncrawl archive on my server with a good bandwidth, that don't happened on my test computer :
zlib.error: Error -3 while decompressing: incorrect header check (in restart_decoder).

…ry fast.

It is possible that « unused_raw » contains more than one end of stream and start of another. We need to restart the decoder while there are unused data at the end.

This caused a strange bug when using that to stream a commoncrawl archive on my server with a good bandwidth, that don't happened on my test computer :
zlib.error: Error -3 while decompressing: incorrect header check (in restart_decoder).
@Smerity

Smerity commented Dec 2, 2014

Copy link
Copy Markdown

Sorry for the delay in merging this. Thanks so much for doing the leg work and finding out what the bug was! Your reasoning is sound and I've confirmed it with a test of my own.

@Smerity Smerity closed this Dec 2, 2014
@palkeo

palkeo commented Dec 4, 2014

Copy link
Copy Markdown
Author

Ok, nice. But you haven't merged it ?

@Smerity Smerity reopened this Jan 18, 2015
Smerity added a commit that referenced this pull request Jan 18, 2015
Correct a bug occurring when the underlying file object is filling very ...
@Smerity Smerity merged commit 59fa1e1 into commoncrawl:master Jan 18, 2015
@Smerity

Smerity commented Jan 18, 2015

Copy link
Copy Markdown

Gah, somehow totally missed that. My extreme apologies mate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants