-
Notifications
You must be signed in to change notification settings - Fork 29.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zlib: the gzip header#os is weird in macos #18273
Comments
I used the zlib in the same machine to write a simple program outside of Node.js, the generated header is:
The |
Note that's 0x13, not 13 in decimal. 0x13 or 19 in decimal is zlib's identifier for macos >= 10. The "Macintosh" the RFC mentions is classic macos (macos <= 9). |
Sorry, my mistake :) |
No problem. :-) |
@bnoordhuis Sorry to bother you regarding this old post, but would you happen to know of a reference for this? RFC 1952 does not mention 19 (decimal), and I've not been able to track down another source. |
To reproduce, see the following source code:
It would output the gzip format header in first log as:
In the GZIP RFC, the flag#13 is marked to "Acorn RISCOS", this might be not correct?
/cc @indutny
The text was updated successfully, but these errors were encountered: