Dmitry Volyntsev

Results 119 comments of Dmitry Volyntsev

Hi @tommyvn, Take a look at the following [patch](https://github.com/nginx/njs/issues/567#issuecomment-1210235605).

@tommyvn As of 0.7.7 you can decide which was to send using `from_upstream` flag which is a property of flags argument. I am considering adding more straightforward methods like s.sendUpstream()...

> This change is in njs v0.7.7, yes? > > A quick glance suggests that [569292e](https://github.com/nginx/njs/commit/569292e0a74f2b1ec09566f3329f82bdd0d58e87) is indeed in that tag, so I'm assuming yes, in which case it is...

Hi @tommyvn, Feel free to test the following patch set: https://gist.github.com/xeioex/5fbb0f581b4b2872c63b6aa5105f6c9b the second patch adds s.sendUpstream() and s.sendDownstream() they are identical to s.send() except they always send data in the...

Hi @277hz , Thanks for the patch Before submitting next time, please consider running `make unit_test` and [test262 test suite](https://github.com/tc39/test262) and reporting the test report diff. [how_to.txt](https://gist.github.com/xeioex/44cf676f1bcc380aeab6a21f3c36056e) [test262.patch](https://gist.github.com/xeioex/ced1439d0247d73d0e90cd7077408c21)

@277hz >apart from that node sadly seems to run some things a lot faster than njs, is performing well. node uses V8, the state-of-the-art JIT compiler for JavaScript (developed for...

@277hz >var d = Date.now(); for (let i = 0; i < 100000000; i++); d = Date.now() - d; console.log(d); ```sh ./build/njs -d interactive njs 0.6.1 v. -> the properties...

@277hz We greatly appreciate your effort and enthusiasm. Here are the some principles we adhere in this project: 1) before introducing some architectural changes, or introducing new mechanisms we discuss...

Hi @hcmf-wice, >Is this intentional, or a bug? Originally, the stream callback code was not designed for async methods like `ngx.fetch()`. As of now, there is a problem with `s.send()`...

Hi @hcmf-wice, Thanks, I will look into it next week.