summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Bump version (0.2.0)0.2.0Garrett D'Amore2017-12-30
| | | | We forgot to bump for 0.1.0 even though we tagged.
* fixes #166 Websocket TLS mappingGarrett D'Amore2017-12-30
| | | | | | | | | | | | | | | | | This introduces the wss:// scheme, which is available and works like the ws:// scheme if TLS is enabled in the library. The library modularization is refactored somewhat, to make it easier to use. There is now a single NNG_ENABLE_TLS that enables TLS support under the hood. This also adds a new option for the TLS transport, NNG_OPT_TLS_CONFIG (and a similar one for WSS, NNG_OPT_TLS_WSS_CONFIG) that offer access to the underlying TLS configuration object, which now has a public API to go with it as well. Note that it is also possible to use pure HTTPS using the *private* API, which will be exposed in a public form soon.
* Attempt to use Ninja on AppVeyor, and shorten the build matrix.Garrett D'Amore2017-12-28
|
* Compile warning (possible size_t overrun) on Windows.Garrett D'Amore2017-12-28
|
* fixes #158 nni_plat_init: undefined return value if called from two threadsGarrett D'Amore2017-12-28
|
* fixes #172 HTTP and websocket need better conditional inclusionGarrett D'Amore2017-12-28
|
* CI updates.Garrett D'Amore2017-12-28
| | | | | | | | | This updates to use Circle CI by default, but we leave Travis in place (but only one default build and one coverage build) until we can move it. We also switch to using ninja for performance reasons. The hope is to get to using CircleCI for everything except Windows. The AppVeyor build needs cleanups and should switch to ninja later.
* Fix compilation warnings, bugs, and crashes found on Windows.Garrett D'Amore2017-12-28
| | | | | This addresses a number of problems that were found on Windows, including one bug that actually turned up in testing on POSIX.
* Fix zerotier compilation regression (caused by winsock changes).Garrett D'Amore2017-12-28
|
* fixes #169 document websocket transportGarrett D'Amore2017-12-27
|
* One more set of Windows fixes.Garrett D'Amore2017-12-27
|
* Compilation fixes for Windows.Garrett D'Amore2017-12-27
|
* fixes #180 add websocket header propertiesGarrett D'Amore2017-12-27
|
* fixes #165 Add address properties for websocket pipesGarrett D'Amore2017-12-26
|
* fixes #2 Websocket transportGarrett D'Amore2017-12-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a rather large changeset -- it fundamentally adds websocket transport, but as part of this changeset we added a generic framework for both HTTP and websocket. We also made some supporting changes to the core, such as changing the way timeouts work for AIOs and adding additional state keeping for AIOs, and adding a common framework for deferred finalization (to avoid certain kinds of circular deadlocks during resource cleanup). We also invented a new initialization framework so that we can avoid wiring in knowledge about them into the master initialization framework. The HTTP framework is not yet complete, but it is good enough for simple static serving and building additional services on top of -- including websocket. We expect both websocket and HTTP support to evolve considerably, and so these are not part of the public API yet. Property support for the websocket transport (in particular address properties) is still missing, as is support for TLS. The websocket transport here is a bit more robust than the original nanomsg implementation, as it supports multiple sockets listening at the same port sharing the same HTTP server instance, discriminating between them based on URI (and possibly the virtual host). Websocket is enabled by default at present, and work to conditionalize HTTP and websocket further (to minimize bloat) is still pending.
* Fix sha1 prototype.Garrett D'Amore2017-12-26
|
* Added SHA1 implementation and test suite.Garrett D'Amore2017-12-26
|
* Added base64 implementation, needed by websocket.Garrett D'Amore2017-12-26
|
* Fix cut'n'paste typoAndy Kirkham2017-12-12
|
* Minor markup tweaks to code-of-conduct.Garrett D'Amore2017-11-27
|
* Add code of conduct.Garrett D'Amore2017-11-27
|
* Minor README updates, including commercial support options.Garrett D'Amore2017-11-27
|
* fixes #160 Convert TLS url from tls:// to tls+tcp://Garrett D'Amore2017-11-27
|
* Minor language fix.0.1Garrett D'Amore2017-11-21
|
* Cope better with the net.h rename in mbedTLS 2.4.0.Garrett D'Amore2017-11-21
|
* Fixes for Circle environment.Garrett D'Amore2017-11-21
| | | | | | | | | The test suites run as root inside docker (?), so the files permission test needs to be skipped. Circle, like Travis, lacks support correct IPv6. I think this is because of basic deficiency in Amazon's EC2 product. Come on Amazon, it's 2017, you have to support IPv6!
* Another CircleCI swag.Garrett D'Amore2017-11-21
|
* More CircleCI tweaks.Garrett D'Amore2017-11-21
|
* Fix up YAML syntax for CircleCI.Garrett D'Amore2017-11-21
|
* Initial swag at circle CI integration.Garrett D'Amore2017-11-21
|
* Add a reference for nng_tls.Garrett D'Amore2017-11-21
|
* fixes #3 TLS transportGarrett D'Amore2017-11-20
| | | | | | | | | | | | | | | | | | | This introduces a new transport (compatible with the TLS transport from mangos), using TLS v1.2. To use the new transport, you must have the mbed TLS library available on your system (Xenial libmbedtls-dev). You can use version 2.x or newer -- 1.3.x and PolarSSL versions are not supported. You enable the TLS transport with -DNNG_TRANSPORT_TLS=ON in the CMake configuration. You must configure the server certificate by default, and this can only be done using nng options. See the nng_tls man page for details. This work is experimental, and was made possible by Capitar IT Group BV, and Staysail Systems, Inc.
* fixes #154 underlyng TCP & IPC transports should support partial recv/sendGarrett D'Amore2017-11-13
| | | | fixes #155 POSIX TCP & IPC could avoid a lot of context switches
* Add pipeline test to the multistress test.Garrett D'Amore2017-11-06
|
* Add multiprotocol/multitransport stress test.Garrett D'Amore2017-11-05
|
* fixes #150 IPC error during Bus testsGarrett D'Amore2017-11-05
|
* Closed socket returns NNG_ENOENT instead of NNG_ECLOSED.Garrett D'Amore2017-11-05
|
* Darwin needs to use SO_NOSIGPIPE.Garrett D'Amore2017-11-04
|
* fixes #149 remove AUTHOR section from man pagesGarrett D'Amore2017-11-04
|
* fixes #148 man pages for req/rep protocol neededGarrett D'Amore2017-11-04
|
* fixes #146 man pages for surveyor protocol neededGarrett D'Amore2017-11-03
|
* fixes #147 surveyor protocol needs NNG_OPT_MAXTTLGarrett D'Amore2017-11-03
|
* fixes #143 Protocols and transports should be "configurable"Garrett D'Amore2017-11-02
| | | | | | | | | | | | | | | | | | | | This makes all the protocols and transports optional. All of them except ZeroTier are enabled by default, but you can now disable them (remove from the build) with cmake options. The test suite is modified so that tests still run as much as they can, but skip over things caused by missing functionality from the library (due to configuration). Further, the constant definitions and prototypes for functions that are specific to transports or protocols are moved into appropriate headers, which should be included directly by applications wishing to use these. We have also added and improved documentation -- all of the transports are documented, and several more man pages for protocols have been added. (Req/Rep and Surveyor are still missing.)
* Add nng_bus man page.Garrett D'Amore2017-10-31
|
* fixes #137 Remove public access to numeric protocolsGarrett D'Amore2017-10-31
|
* Fix front matter for man pages.Garrett D'Amore2017-10-30
|
* Updated links to docs.Garrett D'Amore2017-10-30
|
* Minor markup fixes.Garrett D'Amore2017-10-30
|
* New strerror document.Garrett D'Amore2017-10-30
|
* Start of API landing page.Garrett D'Amore2017-10-30
|