[nanomsg] Re: [nanomsg] Re: [nanomsg] Re: [nanomsg] Re: [nanomsg] nng version 0.2.0 — Happy New Year!

  • From: "Garrett D'Amore" <garrett@xxxxxxxxxx>
  • To: nanomsg@xxxxxxxxxxxxx
  • Date: Tue, 02 Jan 2018 18:30:22 +0000

No, the legacy API only supports legacy transports.  It would be very
difficult to extend the compatibility layer to support tls+tcp:// because
of the requirement to support configuration of TLS certificates and keying
material.  The legacy API has no way to express that.

If you want new stuff, you need to use the new API.

 - Garrett

On Tue, Jan 2, 2018 at 3:08 AM Boszormenyi Zoltan <
dmarc-noreply@xxxxxxxxxxxxx> wrote:

2018-01-01 13:34 keltezéssel, Laurent Alebarde írta:
Very great !
/"the lack of adequate documentation"/ : is it nanomsg compatible, so
that we can use
existing documentation at least for the API ?
Laurent

My question is similar.

When built with -DNNG_ENABLE_TLS=ON, can the "tls+tcp://" protocol
specifier
be used with the compat API?

Thanks in advance,
Zoltán


Le 31/12/2017 à 08:10, Bent Cardan a écrit :
AWESOME!

Can't wait to play with it!

:)

On Sat, Dec 30, 2017 at 7:17 PM, Garrett D'Amore <garrett@xxxxxxxxxx
<mailto:garrett@xxxxxxxxxx>> wrote:

    Happy New Year (a little early)!

    In the spirit of celebration of the year 2018, I’m pleased to
announce that nng —
    that is nanomsg-next-gen — version 0.2.0 is now released.

    For those of you who have not been following, nng represents my
effort
    to completely redesign a modern nanomsg framework that can grow to
support new
    technologies and capabilities, and succeed in ways that nanomsg
itself was unable.

    This is a pre-release, but I consider it “beta" level of stability.
  It still has
    some maturing to do, and some important functionality is missing,
but already it is
    quite usable.  Barring the lack of adequate documentation and
certain performance
    elements, I believe this version to be superior to the official
nanomsg in most regards.

    This release adds secure websocket support, using the wss://
scheme, which means it
    is now possible to use TLS v1.2 and websocket together.  It also
supports multiple
    sockets using the same TCP port when using either wss:// or ws://
schemes — the
    server will discriminate based on the full URL (or in some cases,
the value of Host:)

    In the coming weeks and months, expect much more complete
documentation, performance
    improvements, observability improvements (actual statistics!), and
some interesting
    new capabilities for web applications and people wanting to build
gateways between
    the web and nanomsg applications.

    For folks that want to participate and help, give me a shout.
There are still lots
    of ways to assist, and things to do.

     — Garrett






Other related posts:

  • » [nanomsg] Re: [nanomsg] Re: [nanomsg] Re: [nanomsg] Re: [nanomsg] nng version 0.2.0 — Happy New Year! - Garrett D'Amore