Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix: nn_dns_check_hostname returns EINVAL for domain names with the dot at ↵ | drunk-owl | 2017-10-03 | 1 | -3/+0 |
| | | | | the end | ||||
* | fixes #617 nn_bind does not fail when binding to an already bound TCP port | Garrett D'Amore | 2016-05-31 | 1 | -15/+6 |
| | |||||
* | fixes #658 Add parallelized travis builds and tests | Snaipe | 2016-04-22 | 1 | -18/+24 |
| | |||||
* | fixes #478 tcp test incorrect use of dummy buffer variable | Garrett D'Amore | 2015-10-22 | 1 | -1/+2 |
| | |||||
* | fixes #463 tcp shutdown and close unstable | ryoung | 2015-10-21 | 1 | -1/+17 |
| | | | | | | Fix crash during socket shutdown while in binding state This is the code fix from commit 713d1e64 with a unit test that doesn't depend on the nn_geterror function introduced in commit d484d052 | ||||
* | fixes #461 add new NN_RCVMAXSIZE socket option | bryan newbold | 2015-09-10 | 1 | -0/+30 |
| | | | | | | | | | | | | See nn_getsockopt man page for details. This option can be accessed in transport code via the nn_pipebase_getopt() function. Includes an implementation only for the 'tcp' transport, and basic tests in tests/tcp.c. Fixes #461 (New feature: NN_RCVMAXSIZE socket option). | ||||
* | Copyright transfer from 250bpm s.r.o. to Martin Sustrik | Martin Sustrik | 2014-11-12 | 1 | -1/+1 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | IPC re-binding implemented | Martin Sustrik | 2014-11-07 | 1 | -4/+0 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | Bug in Win version of usock fixed | Martin Sustrik | 2014-11-04 | 1 | -11/+1 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | Revert "Additional TCP test enabled on Windows" | Martin Sustrik | 2014-11-03 | 1 | -0/+2 |
| | | | | This reverts commit 9245d1f6123e26a05e9b84c07e6c694b646dc28a. | ||||
* | Additional TCP test enabled on Windows | Martin Sustrik | 2014-11-03 | 1 | -2/+0 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | Fix in tcp test to avoid unrelated problem with IOCP | Martin Sustrik | 2014-11-03 | 1 | -4/+12 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | Failing test disabled for Windows | Martin Sustrik | 2014-11-01 | 1 | -0/+2 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | Added support for re-bind on already boud socket | Vlad Seryakov | 2014-11-01 | 1 | -0/+21 |
| | | | | | | indefinetely using the same RECONNECT_IVL configuration Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | tests for rejected connections added | Martin Sustrik | 2013-10-31 | 1 | -0/+13 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | Part of tests are refactored | Paul Colomiets | 2013-09-06 | 1 | -48/+20 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | Hostname lables are not allowed to be empty | Martin Sustrik | 2013-09-04 | 1 | -0/+9 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | Hostname syntax is validated before resolving it | Martin Sustrik | 2013-09-04 | 1 | -0/+12 |
| | | | | | | Fix for issue #120 Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | "All rights reserved" clause added to copyright statements. | Martin Sustrik | 2013-08-05 | 1 | -1/+1 |
| | | | | | | | The phrase should not be needed under Berne convention, however, adding it should not hurt. Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | Bug in TCP connection string parsing fixed | Martin Sustrik | 2013-06-28 | 1 | -0/+3 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | More work on IOCP support | Martin Sustrik | 2013-06-10 | 1 | -1/+1 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | TCP connect and bind check whether the address supplied is valid straight away | Martin Sustrik | 2013-05-23 | 1 | -2/+0 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | TCP transport if functional now | Martin Sustrik | 2013-05-23 | 1 | -0/+2 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | Removing old non-functional code. | Martin Sustrik | 2013-05-02 | 1 | -2/+0 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | TCP optset implemented | Martin Sustrik | 2013-03-30 | 1 | -2/+22 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | Rigorous validation of TCP connection strings | Martin Sustrik | 2013-03-29 | 1 | -1/+3 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | New test added to tests/tcp.c | Martin Sustrik | 2013-03-29 | 1 | -0/+10 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | TCP transport allows to specify local interfce when connecting | Martin Sustrik | 2013-03-29 | 1 | -2/+3 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | Individual transport tests do actual batch transfers | Martin Sustrik | 2013-03-23 | 1 | -2/+2 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | tcp and ipc tests updated to use non-VSM messages. | Martin Sustrik | 2013-03-14 | 1 | -3/+3 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | Separate unit tests and stress tests. | Nir Soffer | 2013-03-03 | 1 | -32/+0 |
| | | | | | | | | | The transports tests mix unit tests and stress tests, causing failures because of mis-configured system to look like library bugs. This patch move the shutdown stress test to separate files. Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | Testing for invalid NIC name added to tcp test | Martin Sustrik | 2013-02-20 | 1 | -0/+9 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | Add testing for non-numeric ports in tcp test | Martin Sustrik | 2013-02-20 | 1 | -0/+3 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | Validity of address string checked in nn_connect() | Martin Sustrik | 2013-02-20 | 1 | -0/+10 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | Replace duplicate socket addresses with constant | Nir Soffer | 2013-02-17 | 1 | -5/+6 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | Bug in non-blocking TCP connect fixed | Martin Sustrik | 2013-02-14 | 1 | -2/+0 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | Shutdown stress tests for IPC and TCP added | Martin Sustrik | 2013-02-14 | 1 | -0/+36 |
| | | | | | | These test are temporarily disabled. Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | Shutdown stress test for inproc transport added to the test suite | Martin Sustrik | 2013-02-14 | 1 | -3/+1 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | nn_init() removed; nn_term() repurposed | Martin Sustrik | 2013-02-04 | 1 | -5/+0 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | sp_ prefixes changed to nn_ prefixes | Martin Sustrik | 2013-01-22 | 1 | -25/+25 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | Socket option levels implemented | Martin Sustrik | 2012-12-31 | 1 | -0/+2 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | More work on TCP shutdown | Martin Sustrik | 2012-12-18 | 1 | -1/+1 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | Missing include added | Martin Sustrik | 2012-12-11 | 1 | -4/+0 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | usock knows whether the underlying fd is registered with poller (POSIX version) | Martin Sustrik | 2012-12-09 | 1 | -0/+13 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | inproc test added | Martin Sustrik | 2012-12-04 | 1 | -0/+13 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | Bug in data batching fixed | Martin Sustrik | 2012-12-04 | 1 | -6/+18 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | Individual tests don't print their name (CMake does that) | Martin Sustrik | 2012-12-02 | 1 | -4/+0 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | More work on TCP session | Martin Sustrik | 2012-11-26 | 1 | -2/+0 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | Initial work on TCP protocol header exchange | Martin Sustrik | 2012-11-24 | 1 | -0/+2 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | Initial work on TCP re-connect functionality | Martin Sustrik | 2012-11-24 | 1 | -4/+10 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> |