Dmitry Volyntsev

Results 119 comments of Dmitry Volyntsev

@hongzhidao > BTW, do you know whether the above objects are standard belong to js? There are a ton of web standards. [ECMAScript® 2020 Language Specification ](https://tc39.es/ecma262)(JavaScript) is just one...

Among Web APIs, the most interesting and promising is [Web Crypto API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API).

@hongzhidao >Do you know what library is good to use for implementing Crypto? (OpenSSL?) yes, ideally we want to use the same OpenSSL-like library which nginx is using. The trick...

@drsm I am thinking about the way to split-apart byte strings and ordinary strings (http://nginx.org/en/docs/njs/reference.html#string), because it is became [increasingly complicated](https://github.com/nginx/njs/blob/master/src/njs_array.c#L1636) to handle them as a valid variants of a...

@drsm > r.requestBody + r.requestBody will be a UTF-8 string, so it's a breaking change. Yes, maybe implicit toString() is not a good idea. ```js > var a = new...

@drsm > Maybe is better to use properties instead? Yes, am considering it.

@drsm Meanwhile I am studying the way to port existing njs code automatically, it seems it is pretty straightforward in JS world. For example, to robustly rename in the code...

@hongzhidao Looks promising. Will take a look once I am with the Buffer object (most probably tomorrow).

@drsm, @hongzhidao Hi guys, welcome to test Fetch API (ngx.fetch()). What is supported: http and stream modules, chunked encoding. What is left to do: support async DNS resolve in urls...

@hongzhidao >https://gist.github.com/hongzhidao/e0ee20282521d1eda56ad166d8c3590b Applied, thanks. > Is this format a typo? Notice the char \ before $. this is escaping for $ in perl string literals. >2. Unused location fetch. >The...