| Commit message (Collapse) | Author | Age | ||
|---|---|---|---|---|
| ... | ||||
| * | More REP protocol coverage tests. | Garrett D'Amore | 2020-01-02 | |
| | | ||||
| * | Limit the batch size, and set some timeouts for compat_tcp. | Garrett D'Amore | 2020-01-02 | |
| | | ||||
| * | fixes #1099 Should inline backtrace buffer in REP | Garrett D'Amore | 2020-01-02 | |
| | | ||||
| * | Fixes broken win32 build. (#1092) | Cody Piersall | 2020-01-02 | |
| | | | | | | | When using the 32-bit Windows compiler, the functions InterlockedIncrementAcquire64() and and InterlockedDecrementRelease64() are not defined. So we fall back to the more generic InterlockedAcquire64() and InterlockedDecrement64() on 32-bit Windows. | |||
| * | fixes #1090 nni_strlcat is unused | Garrett D'Amore | 2020-01-02 | |
| | | ||||
| * | fixes #1088 REP protocol does not signal SENDFD properly | Garrett D'Amore | 2020-01-01 | |
| | | | | | | We've also added some TEST_NNG_SEND_STR and TEST_NNG_RECV_STR to help with convenience when writing test code. | |||
| * | fixes #1083 Random number improvements | Garrett D'Amore | 2020-01-01 | |
| | | ||||
| * | Add error message for NNG_ECONNSHUT (#1084) | Robert Bielik | 2020-01-01 | |
| | | | | | | | * Add error message for NNG_ECONNSHUT * Added missing space after string. | |||
| * | Fixup a few codacy complaints. | Garrett D'Amore | 2020-01-01 | |
| | | ||||
| * | fixes #1081 Use after free possible in stats | Garrett D'Amore | 2020-01-01 | |
| | | | | | | | | fixes #1080 Desire better way to access statistics for NNG objects We've also added a test that uses some of this, in order to verify that the req protocol rejects invalid peers. | |||
| * | fixes #1079 Use after free panic in tcp_dialer | Garrett D'Amore | 2019-12-30 | |
| | | ||||
| * | fixes #1075 WebSocket heap use after free | Garrett D'Amore | 2019-12-30 | |
| | | | | | | This also introduces a new atomic boolean type, so we can use that to trigger whether we've added the HTTP handler or not. | |||
| * | Fix compilation errors and warnings when NNG_ENABLE_STATS is OFF | Robert Bielik | 2019-12-30 | |
| | | ||||
| * | Add http server method for getting address | Robert Bielik | 2019-12-29 | |
| | | ||||
| * | fixes #1059 compat_tcp test sometimes times out | Garrett D'Amore | 2019-12-29 | |
| | | ||||
| * | fixes #1064 Potential deadlock in statistics code | Garrett D'Amore | 2019-12-29 | |
| | | | | | | | | | fixes #1063 Include sanitizer runs in CI fixes #1068 Wssfile test sometimes fails with wrong error code While here, addressed a number of clang-tidy items, and some light cleanup of code we were already in. | |||
| * | Silence a few clang-tidy complaints. | Garrett D'Amore | 2019-12-29 | |
| | | ||||
| * | Remove some unused includes from POSIX resolver. | Garrett D'Amore | 2019-12-29 | |
| | | ||||
| * | fixes #1065 resolver leaks work structures | Garrett D'Amore | 2019-12-29 | |
| | | | | | | | This includes changes to support setting the sanitizer *correctly* (the old code CMake stuff didn't quite get it right), and addresses a number of failures in the test code found by the address sanitizer. | |||
| * | fixes #1062 Windows client connections cannot get NNG_OPT_LOCADDR | Garrett D'Amore | 2019-12-28 | |
| | | ||||
| * | fixes #986 ws_read_finish_str free invalid pointer | Garrett D'Amore | 2019-12-28 | |
| | | | | | | | Also, this has refactored the websocket stream test to the new acutest.h, and includes a much deeper test of fragmentation and reassembly of websocket streams. | |||
| * | Brittleness in pair1 mono faithful test. | Garrett D'Amore | 2019-12-27 | |
| | | ||||
| * | fixes #1057 reqpoll test fails (bad test logic) sometimes | Garrett D'Amore | 2019-12-27 | |
| | | | | | The reqpoll test is now moved into the common req/rep logic. | |||
| * | Bind to IP address -- localhost might not go where you think. | Garrett D'Amore | 2019-12-27 | |
| | | | | | Seeing this failure in the cloud on Darwin. | |||
| * | Allow more time for the listener to get going in the cloud. | Garrett D'Amore | 2019-12-27 | |
| | | ||||
| * | Move the WSS file test, and hopefully provide more debuggability. | Garrett D'Amore | 2019-12-27 | |
| | | ||||
| * | Add possibility to use mbedtls cmake target if available | Robert Bielik | 2019-12-27 | |
| | | ||||
| * | fixes #1051 nni_ntop is unused | Garrett D'Amore | 2019-12-27 | |
| | | ||||
| * | fixes #1037 http client crashes (pthread lock bugs) | Garrett D'Amore | 2019-12-26 | |
| | | | | | | | This reference counts both TCP and IPC dialers running on POSIX configurations, as we need to take care not to destroy the dialer until any streams associated with are completely destroyed. | |||
| * | Various clang tidy fixups in the POSIX pollers. | Garrett D'Amore | 2019-12-26 | |
| | | ||||
| * | fixes #1040 Convert rest of the protocols to new CMake infra | Garrett D'Amore | 2019-12-25 | |
| | | ||||
| * | fixes #1038 Linux should use getentropy or getrandom | Garrett D'Amore | 2019-12-24 | |
| | | ||||
| * | fixes #1032 Figure out Darwin bustedness | Garrett D'Amore | 2019-12-24 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | fixes #1035 Convey is awkward -- consider acutest.h This represents a rather large effort towards cleaning up our testing and optional configuration infrastructure. A separate test library is built by default, which is static, and includes some useful utilities design to make it easier to write shorter and more robust (not timing dependent) tests. This also means that we can cover pretty nearly all the tests (protocols etc.) in every case, even if the shipped image will be minimized. Subsystems which are optional can now use a few new macros to configure what they need see nng_sources_if, nng_headers_if, and nng_defines_if. This goes a long way to making the distributed CMakefiles a lot simpler. Additionally, tests for different parts of the tree can now be located outside of the tests/ tree, so that they can be placed next to the code that they are testing. Beyond the enabling work, the work has only begun, but these changes have resolved the most often failing tests for Darwin in the cloud. | |||
| * | fixes #1034 POSIX atomic handing default case is busted | Garrett D'Amore | 2019-12-24 | |
| | | ||||
| * | Address complaints found by lgtm.com. | Garrett D'Amore | 2019-12-11 | |
| | | ||||
| * | Fix typo in websocket/CMakeLists.txt | Evgeny Ermakov | 2019-12-10 | |
| | | ||||
| * | fixes #1004 Warning found by clang --analyze | Garrett D'Amore | 2019-11-11 | |
| | | | | | | It's possible for an empty chunk to have a NULL data pointer. Even when copying zero bytes, this makes clang somewhat unhappy. | |||
| * | Add option for preferring new messages on SUB0 | Nathan Kent | 2019-11-03 | |
| | | ||||
| * | fixes #970 TCP connections through docker-proxy do not reconnect | Garrett D'Amore | 2019-09-24 | |
| | | ||||
| * | fixes #987 Memory leak in ipc_dialer_dial (Windows) | Garrett D'Amore | 2019-09-23 | |
| | | ||||
| * | fixes #976 websocket stream calls incorrect completion callback | Garrett D'Amore | 2019-08-12 | |
| | | ||||
| * | fixes #979 ZeroTier fails with zero recvmax | Garrett D'Amore | 2019-08-11 | |
| | | ||||
| * | fixes #975 nng_http_res_alloc does not init status code properly | Garrett D'Amore | 2019-08-09 | |
| | | ||||
| * | fixes #954 large message fails with no error message | Garrett D'Amore | 2019-07-17 | |
| | | | | | | | This removes the default 1MB limit on maximum receive sizes. Applications intended for deployment in insecure or hostile environments should choose a sensible default for NNG_OPT_RECVMAXSZ. | |||
| * | fixes #969 CMake : export target to current build scope | Garrett D'Amore | 2019-07-17 | |
| | | ||||
| * | MinGW fixes for interlocked variables | Garrett D'Amore | 2019-06-27 | |
| | | ||||
| * | wrong return type in fallback atomic op | Garrett D'Amore | 2019-06-05 | |
| | | ||||
| * | fixes #948 TLS listener leaks underlying TCP stream listener | Garrett D'Amore | 2019-05-19 | |
| | | ||||
| * | fix #946 Use after free in TLS | Garrett D'Amore | 2019-05-19 | |
| | | | | | | This also introduces a more efficient reference counting usage based on atomics, rather than locks. | |||
| * | fixes #937 Memory Leak in wsstream | Garrett D'Amore | 2019-05-19 | |
| | | ||||
