nginx / unit

NGINX Unit - universal web app server - a lightweight and versatile open source server that simplifies the application stack by natively executing application code across eight different programming language runtimes.
https://unit.nginx.org
Apache License 2.0
5.37k stars 323 forks source link

Node.js: fixed "httpVersion" variable format #1090

Closed andrey-zelenkov closed 8 months ago

andrey-zelenkov commented 8 months ago

According to the Node.js documenation this variable should only include numbering scheme.

Thanks to @dbit-xia.

Closes: https://github.com/nginx/unit/issues/1085

andrey-zelenkov commented 8 months ago

Added description in docs/changes.xml:

git range-diff cee7b11f...80a9311a
1:  cee7b11f ! 1:  80a9311a Node.js: fixed "httpVersion" variable format
    @@ Commit message

         Closes: https://github.com/nginx/unit/issues/1085

    + ## docs/changes.xml ##
    +@@ docs/changes.xml: with Next.js.
    + </para>
    + </change>
    + 
    ++<change type="bugfix">
    ++<para>
    ++ServerRequest.httpVersion variable format in Node.js module.
    ++</para>
    ++</change>
    ++
    ++
    + </changes>
    + 
    + 
    +
      ## src/nodejs/unit-http/unit.cpp ##
     @@ src/nodejs/unit-http/unit.cpp: Unit::get_server_object()
      void