Learn about Centmin Mod LEMP Stack today
Become a Member

Nginx [nginx-announce] unit-1.10.0

Discussion in 'Nginx and PHP-FPM news & discussions' started by eva2000, Aug 23, 2019.

  1. eva2000

    eva2000 Administrator Staff Member

    49,561
    11,374
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,677
    Local Time:
    2:18 PM
    Nginx 1.21.x
    MariaDB 10.x
    Hi,

    I'm glad to announce a new release of NGINX Unit.

    This release includes a number of improvements in various language modules
    and, finally, basic handling of incoming WebSocket connections, currently
    only for Node.js. Next in line to obtain WebSocket support is the Java
    module; it's almost ready but requires some polishing.

    To handle WebSocket connections in your Node.js app via Unit, use the
    server object from the 'unit-http' module instead of the default one:

    var webSocketServer = require('unit-http/websocket').server;

    Another interesting and long-awaited feature in this release is the splitting
    of PATH_INFO in the PHP module. Now, Unit can properly handle requests like
    /app.php/some/path?some=args, which are often used to implement "user-friendly"
    URLs in PHP applications.


    Changes with Unit 1.10.0 22 Aug 2019

    *) Change: matching of cookies in routes made case sensitive.

    *) Change: decreased log level of common errors when clients close
    connections.

    *) Change: removed the Perl module's "--include=" ./configure option.


    *) Feature: built-in WebSocket server implementation for Node.js module.

    *) Feature: splitting PATH_INFO from request URI in PHP module.

    *) Feature: request routing by scheme (HTTP or HTTPS).

    *) Feature: support for multipart requests body in Java module.

    *) Feature: improved API compatibility with Node.js 11.10 or later.

    *) Bugfix: reconfiguration failed if "listeners" or "applications"
    objects were missing.

    *) Bugfix: applying a large configuration might have failed.


    Please welcome our new junior developer, Axel Duch. For this release, he
    implemented scheme matching in request routing; now, he works to further extend
    the request routing capabilities with source and destination address matching.

    In parallel, Tiago Natel de Moura, who also joined the development recently,
    has achieved significant progress in the effort to add various process
    isolation features to Unit. You can follow his recent work on Linux
    namespaces support in the following pull request:

    - https://github.com/nginx/unit/pull/289

    See also his email about the feature:

    - https://mailman.nginx.org/pipermail/nginx/2019-August/058321.html

    In the meantime, we are about to finish the first round of adding basic
    support for serving static media assets and proxying in Unit.

    Stay tuned!

    wbr, Valentin V. Bartenev



    _______________________________________________
    nginx-announce mailing list
    nginx-announce@nginx.org
    http://mailman.nginx.org/mailman/listinfo/nginx-announce

    Continue reading...