Skip to content

gzipme module is of low quality, does not catch errors at all (throws hard exception and bombs app) #33

@boutell

Description

@boutell

We will need to remove this in favor of using gzip streams properly, no npm dependency needed, although we could simplify it to a gzipme.js of our own with the same API plus a useful callback that implements error reporting.

  var out = zlib.createGzip();
  fileOut = fs.createWriteStream(filename);
  out.pipe(fileOut);
  // listening for both finish and errors properly, pipe aread stream into out

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions