Skip to content

Commit

Permalink
v3.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
fpereiro committed May 9, 2022
1 parent 8c90a04 commit 6d0135c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion cicek.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
çiçek - v3.4.2
çiçek - v3.4.3
Written by Federico Pereiro (fpereiro@gmail.com) and released into the public domain.
Expand Down Expand Up @@ -211,6 +211,7 @@ Please refer to readme.md to read the annotated source (but not yet!).
write.on ('finish', function () {
fs.unlink (options.path, function (error) {
if (error) return cicek.log (['error', 'logrotate delete error', error.toString (), error.stack]);
options.stream.destroy ();
options.stream = fs.createWriteStream (options.path, {flags: 'a'});
options.streamIn.pipe (options.stream);
});
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cicek",
"version": "3.4.2",
"version": "3.4.3",
"description": "HTTP/HTTPS server.",
"dependencies": {
"busboy": "0.3.1",
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

## Current status of the project

The current version of çiçek, v3.4.2, is considered to be *unstable* and *somewhat complete*. [Suggestions](https://github.com/fpereiro/cicek/issues) and [patches](https://github.com/fpereiro/cicek/pulls) are welcome. Future changes planned are:
The current version of çiçek, v3.4.3, is considered to be *unstable* and *somewhat complete*. [Suggestions](https://github.com/fpereiro/cicek/issues) and [patches](https://github.com/fpereiro/cicek/pulls) are welcome. Future changes planned are:

- Improve `cicek.file`'s API.
- Fix bug when exceptions are thrown in cluster mode.
Expand Down
4 changes: 2 additions & 2 deletions test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
çiçek - v3.4.2
çiçek - v3.4.3
Written by Federico Pereiro (fpereiro@gmail.com) and released into the public domain.
Expand Down Expand Up @@ -58,7 +58,7 @@ To run the test first run `node test` at the command prompt and then open the ur

cicek.options.cookieSecret = 'c0okies3cret';
cicek.options.log.file.path = 'cicek.log';
//cicek.options.log.file.rotationSize = 0.1,
//cicek.options.log.file.rotationSize = 0,
//cicek.options.log.file.rotationFreq = 0.1,
cicek.options.log.body = function (log) {
return log.url.match (/auth/) === null;
Expand Down

0 comments on commit 6d0135c

Please sign in to comment.