Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fixes #997 Windows IPC Assertion failed: !self->pipesendbuffix997 | Garrett D'Amore | 2018-11-21 | 1 | -2/+6 |
| | |||||
* | Fix code which breaks strict aliasing rule in C language (#990) | David Ward | 2018-09-10 | 1 | -5/+11 |
| | | | | | Use memcpy() instead of dereferencing a type-punned pointer. This avoids warnings from the compiler, which indicate it may optimize the code in a way that results in unexpected behavior. | ||||
* | fixes #978 nanomsg IPC on Windows is very fragile | Garrett D'Amore | 2018-06-07 | 3 | -54/+114 |
| | | | | | | | | | | | | This is critical for hardening use cases with other IPC clients such as nng or mangos. The old code made some very incorrect assumptions about the atomicity of named pipes and ReadFile. We've changed the code so that if ReadFile (or WSARecv incidentally) ever returns a partial read, we keep going. This solves a critial assertion error, and greatly improves the crash resistance of nanomsg when using IPC on Windows. | ||||
* | Remove unused variable (found with new clang warnings.) | Garrett D'Amore | 2018-05-23 | 1 | -1/+0 |
| | |||||
* | fixes #924 RUN_TESTS tcp_shutdown failed (windows) | Garrett D'Amore | 2017-11-06 | 1 | -0/+11 |
| | |||||
* | fixes #871 Tests failed when building on WSL | Garrett D'Amore | 2017-10-13 | 1 | -1/+5 |
| | |||||
* | fixes #860 Assertion Failed: self->next == NN_QUEUE_NOTINQUEUE | Garrett D'Amore | 2017-10-11 | 1 | -0/+5 |
| | | | | | Pretty sure this will solve other reported cases of this assertion during usock_term. | ||||
* | clean fix of memory leak in btcp.c when nn_bind returns EADDRINUSE | Bill Williams | 2017-09-14 | 2 | -0/+14 |
| | |||||
* | fixes #800 accept4 not implemented on all systems | Garrett D'Amore | 2016-10-20 | 1 | -0/+5 |
| | |||||
* | fix inconsistent indentation (#788) | Hunter | 2016-09-07 | 1 | -6/+6 |
| | |||||
* | fix #789 incorrect state assertion in usock_posix.inc | xiaocheng | 2016-09-07 | 1 | -1/+1 |
| | |||||
* | fixes #528 NN_QUEUE_NOTINQUEUE fix incomplete | Garrett D'Amore | 2016-05-29 | 1 | -2/+13 |
| | |||||
* | fixes compiler warnings for unused variable declarations | Jack R. Dunaway | 2016-05-11 | 1 | -2/+0 |
| | |||||
* | fixes #672 MSVC x64 reports compiler warnings in usock_win.inc | Jack R. Dunaway | 2016-04-25 | 1 | -14/+26 |
| | |||||
* | fixes #663 fix for #603 incomplete | Garrett D'Amore | 2016-04-21 | 1 | -1/+1 |
| | |||||
* | fixes #603 crash if REP closes connection after sending protocol header | Garrett D'Amore | 2016-04-21 | 1 | -3/+16 |
| | |||||
* | fixes #657 extra casts obfuscate code in worker_posix.inc | Garrett D'Amore | 2016-04-21 | 1 | -10/+9 |
| | |||||
* | fixes #647 Initial cmake support for non-Windows platforms | Jack R. Dunaway | 2016-04-19 | 2 | -19/+16 |
| | | | | | | | | | | | | | | | This change is the first step towards a unified CMake based build for all nanomsg platforms. With this it is possible to build nanomsg using cmake on at least Linux, MacOS X, illumos, and Windows systems. However, there remains work to be done, particularly with respect to delivery of documentation and the nanocat binary. The eventual goal will be to remove support for the autotools, and settle on a single cmake based toolchain. This work is the result of a collaborative effort by several authors: Jack R. Dunaway (@JackDunaway), Garrett D'Amore (@gdamore), Franklin Mathieu (@Snaipe) and Shiva (@shiva). | ||||
* | fixes #640 clock_rdtsc is unsafe | Garrett D'Amore | 2016-04-19 | 2 | -7/+6 |
| | |||||
* | fixes #585 Buffer overflow in usock_win logic | Snaipe | 2016-04-16 | 1 | -1/+1 |
| | |||||
* | fixes #632 GCC int-conversion warning with MinGW-w64 | Franklin Mathieu | 2016-04-16 | 1 | -1/+1 |
| | | | | This happened because __builtin_expect compares the pointer to an int. | ||||
* | fixes #556 Support security attributes for Windows IPC | Timothee 'TTimo' Besset | 2015-12-09 | 2 | -8/+16 |
| | | | | | | | Allow passing security descriptor to the ipc channel in Windows. The tunables NN_IPC_SEC_ATTR, as well as NN_IPC_OUTBUFSZ and NN_IPC_INBUFSZ are exposed on Windows when using the named pipe based IPC. | ||||
* | fixes #536 nn_worker_routine call nn_poller_set_out occur assert | Garrett D'Amore | 2015-11-20 | 2 | -31/+21 |
| | | | | fixes #230 Bad file descriptor [9] (src/aio/poller_epoll.inc:107) | ||||
* | fixes #77 assertion failure (NN_QUEUE_NOTINQUEUE) | Garrett D'Amore | 2015-11-10 | 1 | -0/+7 |
| | |||||
* | fixes #465 numerous compiler warnings when built with -Wall -Wextra | Garrett D'Amore | 2015-10-22 | 1 | -1/+2 |
| | |||||
* | fixes #476 TCP shutdown problem | Garrett D'Amore | 2015-10-21 | 1 | -5/+1 |
| | |||||
* | fixes #391 Call to poll() in crash in __pollsys | Garrett D'Amore | 2015-07-13 | 1 | -2/+2 |
| | |||||
* | fixes #431 epoll compilation fails on SmartOS | Garrett D'Amore | 2015-07-13 | 1 | -1/+2 |
| | |||||
* | Fix tcpmux stuff on Solaris | Martin Sustrik | 2014-11-21 | 1 | -9/+29 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | Check for presence of msghdr.msg_control | Martin Sustrik | 2014-11-20 | 1 | -0/+3 |
| | | | | | | The field doesn't exist on some old systems. Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | Debug output removed | Martin Sustrik | 2014-11-20 | 1 | -1/+0 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | Missing include added | Martin Sustrik | 2014-11-20 | 1 | -0/+1 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | Bound side of tcpmux transport implemented | Martin Sustrik | 2014-11-20 | 4 | -8/+66 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | Missing include added | Martin Sustrik | 2014-11-16 | 1 | -0/+1 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | Copyright transfer from 250bpm s.r.o. to Martin Sustrik | Martin Sustrik | 2014-11-12 | 30 | -30/+30 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | added missing include | Tobias Peters | 2014-11-07 | 1 | -0/+1 |
| | | | | Signed-off-by: Tobias Peters <tobias.peters@kreativeffekt.at> | ||||
* | Bug in Win version of usock fixed | Martin Sustrik | 2014-11-04 | 1 | -2/+2 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | Error reporting on Windows slightly improved | Martin Sustrik | 2014-10-31 | 1 | -1/+1 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | Bug fix for the clean-up of removed poll fds, when NN_USE_POLL is selected | Aram Santogidis | 2014-10-23 | 1 | -2/+5 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | Cleanup of nn_queue_remove function. | Martin Sustrik | 2014-07-10 | 3 | -4/+4 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | Fix compilation warning. | Martin Sustrik | 2014-07-10 | 1 | -1/+2 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | Added socket's life cycle stress test. | Ark Degtiarov | 2014-07-10 | 4 | -3/+14 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | Fixed diagrams generation issues | Ark Degtiarov | 2014-07-10 | 1 | -6/+10 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | Fix overlapped I/O on Windows. Provide a test. | Timothee Besset | 2014-07-10 | 1 | -1/+1 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | Bug in NamedPipes-related error handling fixed | Martin Sustrik | 2014-06-07 | 1 | -18/+17 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | Final part of NamedPipes merge | Martin Sustrik | 2014-06-07 | 1 | -3/+5 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | More NamedPipe-related merging | Martin Sustrik | 2014-06-07 | 1 | -4/+24 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | Couple of small patches to NamedPipes | Martin Sustrik | 2014-06-07 | 1 | -3/+3 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | nn_usock_recv of NamedPipes merged | Martin Sustrik | 2014-06-07 | 1 | -7/+17 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | ||||
* | nn_usock_send for NamedPipes merged | Martin Sustrik | 2014-06-07 | 1 | -9/+37 |
| | | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com> |