Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

src: zlib: revert concatenated-stream changes #8985

Closed

Conversation

chrisdickinson
Copy link

This addresses the immediate problem seen in #8962. I may try to reintroduce this feature with a flagged option if desired.

@misterdjules
Copy link

LGTM. A few comments:

Thanks!

@chrisdickinson
Copy link
Author

I'm not sure if using src: zlib: in the first line of the commit message breaks the contributing rules. Maybe reword the first line and just mention the sha1 of the reverted commits in the commit message?

Looks like we do <subsystem>, <subsystem>: <message> when multiple subsystems are affected. Willfix!

Can we mention issue number #8962 in the commit message?

Yep! That will be part of the commit metadata (the Fixes: <url> part).

How was this tested? Could we ask some people following npm/npm#7043 to test it?

This was tested with both the reduced test case as well as the steps listed on the original issue. But, the more eyes, the better! /cc @othiym23.

Revert "src: fix windows build error" and "zlib: support
concatenated gzip files". Treating subsequent data as a
concatenated stream breaks npm install.

This reverts commits 93533e9
and 6f6a979.

Fixes: nodejs#8962
PR-URL: nodejs#8985
Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
@othiym23
Copy link

othiym23 commented Jan 6, 2015

I can confirm that this fixes the crashes that I was seeing when this issue was pointed out to me by @wraithan. @wraithan, does this fix your issues with node-newrelic as well?

@wraithan
Copy link

wraithan commented Jan 7, 2015

I'll test this in a couple hours when I get to work, just saw this email to test this branch

@wraithan
Copy link

wraithan commented Jan 7, 2015

@chrisdickinson @othiym23 This fixes the problem for us. Thanks a ton to both of you for looking into this and fixing it up for me!

@misterdjules misterdjules added this to the 0.11.15 milestone Jan 7, 2015
@misterdjules
Copy link

@othiym23 @wraithan @chrisdickinson Thank you very much! Now LGTM without any comment :)

chrisdickinson added a commit that referenced this pull request Jan 7, 2015
Revert "src: fix windows build error" and "zlib: support
concatenated gzip files". Treating subsequent data as a
concatenated stream breaks npm install.

This reverts commits 93533e9
and 6f6a979.

Fixes: #8962
PR-URL: #8985
Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
@chrisdickinson
Copy link
Author

Merged in c8ef97e. Thanks all!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants