aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* windows ipc: check the return value of nni_aio_scheduleGarrett D'Amore2024-12-03
| | | | | This hopefully addresses a long standing bug with Windows IPC sometimes hanging on shut down.
* tests: void instead of empty parameter listGarrett D'Amore2024-12-01
|
* http server: sprintf is considered deprecatedGarrett D'Amore2024-12-01
| | | | | | | | | | Because it is typically associated with insecure code, use of sprintf is discouraged. Note that our usage was actually quite careful and not insecure, but its mere presence raises concern especially by parties who are unwilling or unable to assess the actual code for correctness. A better choice here would be strlcat, but strlcat is not universally available.
* http server: fix race condition for server->closedGarrett D'Amore2024-12-01
|
* tests: convert files test to NUTSGarrett D'Amore2024-12-01
|
* tests: convert ipcsupp tests to NUTSGarrett D'Amore2024-11-30
|
* tests: convert tcpsupp test to NUTSGarrett D'Amore2024-11-30
| | | | Also renamed this to tcp_stream_test.
* tests: convert scalability test to NUTSGarrett D'Amore2024-11-30
|
* tests: convert nonblock test to NUTSGarrett D'Amore2024-11-30
|
* tests: convert synch test to NUTS.Garrett D'Amore2024-11-30
| | | | | While here we added a test for nng_cv_wake1 to demonstrate it does not fall afoul of the thundering herd.
* tests: fix sign bug in comparing timesGarrett D'Amore2024-11-30
|
* tests: Allow more time for larger messagesGarrett D'Amore2024-11-30
|
* tests: incompletely initialized address in has_ipv6 checkGarrett D'Amore2024-11-30
|
* tests: fix type mismatch on htonlGarrett D'Amore2024-11-30
|
* tests: convert ws transport test to NUTSGarrett D'Amore2024-11-30
|
* tests: time collection overhead might be zero for coarse timers (Windows)Garrett D'Amore2024-11-30
|
* tests: convert TCPv6 transport test to NUTS (and consolidate with v4)Garrett D'Amore2024-11-30
|
* tests: better reporting of timing overheadGarrett D'Amore2024-11-30
|
* tests: add a couple more transport specific testsGarrett D'Amore2024-11-30
|
* tests: tcp test converted to NUTSGarrett D'Amore2024-11-30
| | | | | TCPv6 not done yet since that needs special work to be conditionalized. Also tcpsupp remains to be converted.
* tests: inproc converted to NUTSGarrett D'Amore2024-11-30
| | | | | | | | This actually represents a conversion of the transport tests implemented in Convey terms to NUTS. As part of this, have implemented a simple round trip performance test, using PAIR. The rest of the transport tests will shortly be converted to this as well.
* tests: Convert device test to NUTSGarrett D'Amore2024-11-30
| | | | | This also adds more tests for additional test cases (aio, and more validations of incompatible device configurations).
* tests: req stress test converted to NUTSGarrett D'Amore2024-11-30
|
* tests: multistress test converted to NUTSGarrett D'Amore2024-11-30
|
* tests: Convert pipe test suite to NUTSGarrett D'Amore2024-11-30
|
* tests: fix data race getting resultsGarrett D'Amore2024-11-30
|
* sockfd: inline aio structsGarrett D'Amore2024-11-24
|
* tls: don't use an extra resolver step in the listener.Garrett D'Amore2024-11-24
| | | | This was centralized in the stream layer a while ago.
* sockfd: we can use NULL for dialer opsGarrett D'Amore2024-11-24
|
* Remove all the get_ptr option accessors.Garrett D'Amore2024-11-24
| | | | | Temporarily we have removed access to the peer alt names, but that was never used and was not tested (it also didn't work with WolfSSL.)
* Remove all the set_ptr option functions.Garrett D'Amore2024-11-24
| | | | | This hopefully ensures that we have good typed functions instead of just passing around pointers blithely.
* Remove the NNG_OPT_IPC_SECURITY_DESCRIPTOR option.Garrett D'Amore2024-11-24
| | | | | | | | This is now replaced with nng_listener_set_security_descriptor and nng_stream_listener_set_security_descriptor functions. We may elect to remove these entirely, but for named pipe users they are probably still quite useful. Moving towards UNIX domain sockets would obsolete this functionality.
* http: constify some functionsGarrett D'Amore2024-11-24
|
* ws: add some more test casesGarrett D'Amore2024-11-24
|
* Remove string option functions from sockets and contexts.Garrett D'Amore2024-11-24
| | | | | These are not needed anymore, and the semantics of string accessors is brittle, so we want to eliminate these as much as possible.
* socket: remove unused nng_socket_get_ptr and nng_socket_set_ptr.Garrett D'Amore2024-11-24
| | | | | | | | We will be removing these pointer based functions more generally as we we have type-specific accessors instead. We also removed the context versions of these functions, which were not previously documented.
* option parser: test for no clustering supportGarrett D'Amore2024-11-24
|
* options parser: Add a couple of tests for ambiguous and missing argumentsGarrett D'Amore2024-11-23
|
* Converted options supplemental test to NUTSGarrett D'Amore2024-11-23
|
* ipc: Add NNG_OPT_REMADDR for dialer.Garrett D'Amore2024-11-23
|
* tls: add a mutual authentication testGarrett D'Amore2024-11-23
| | | | | | | | Also, make it clearer that TLS keys and certificates can only be set once on a configuration. (mbedTLS makes this confusing!) This mutual test is only fully validated on mbed, because wolfSSL seems to not properly validate this in many configurations.
* tls: include error code from mbed in log messagesGarrett D'Amore2024-11-23
| | | | Also add a test case for mismatch verify.
* socket: fds can never be negativeGarrett D'Amore2024-11-23
|
* tests: add listener and dialer testsGarrett D'Amore2024-11-23
|
* listener: add listener_create_url and listen_urlGarrett D'Amore2024-11-23
|
* dialers: add nng_dial_url and nng_dialer_create_urlGarrett D'Amore2024-11-23
| | | | | This allows a URL object to be used for dialing, which may be easier than using a string if you already have the URL object.
* Add nni_url_clone_inline.Garrett D'Amore2024-11-23
| | | | | The idea is to allow nng_dialer_create_url() and such to avoid having to reparse a URL that we already have.
* url: add huge url testsGarrett D'Amore2024-11-23
|
* Remove u_rawurl member of URL.Garrett D'Amore2024-11-23
| | | | | This means that most URLs can now be used without any allocations needed. It eliminates some failure paths.
* core: remove NNG_OPT_URL entirelyGarrett D'Amore2024-11-23
|