summaryrefslogtreecommitdiff
path: root/src/aio
Commit message (Collapse)AuthorAgeFilesLines
* fixes #997 Windows IPC Assertion failed: !self->pipesendbuffix997Garrett D'Amore2018-11-211-2/+6
|
* Fix code which breaks strict aliasing rule in C language (#990)David Ward2018-09-101-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 fragileGarrett D'Amore2018-06-073-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'Amore2018-05-231-1/+0
|
* fixes #924 RUN_TESTS tcp_shutdown failed (windows)Garrett D'Amore2017-11-061-0/+11
|
* fixes #871 Tests failed when building on WSLGarrett D'Amore2017-10-131-1/+5
|
* fixes #860 Assertion Failed: self->next == NN_QUEUE_NOTINQUEUEGarrett D'Amore2017-10-111-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 EADDRINUSEBill Williams2017-09-142-0/+14
|
* fixes #800 accept4 not implemented on all systemsGarrett D'Amore2016-10-201-0/+5
|
* fix inconsistent indentation (#788)Hunter2016-09-071-6/+6
|
* fix #789 incorrect state assertion in usock_posix.incxiaocheng2016-09-071-1/+1
|
* fixes #528 NN_QUEUE_NOTINQUEUE fix incompleteGarrett D'Amore2016-05-291-2/+13
|
* fixes compiler warnings for unused variable declarationsJack R. Dunaway2016-05-111-2/+0
|
* fixes #672 MSVC x64 reports compiler warnings in usock_win.incJack R. Dunaway2016-04-251-14/+26
|
* fixes #663 fix for #603 incompleteGarrett D'Amore2016-04-211-1/+1
|
* fixes #603 crash if REP closes connection after sending protocol headerGarrett D'Amore2016-04-211-3/+16
|
* fixes #657 extra casts obfuscate code in worker_posix.incGarrett D'Amore2016-04-211-10/+9
|
* fixes #647 Initial cmake support for non-Windows platformsJack R. Dunaway2016-04-192-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 unsafeGarrett D'Amore2016-04-192-7/+6
|
* fixes #585 Buffer overflow in usock_win logicSnaipe2016-04-161-1/+1
|
* fixes #632 GCC int-conversion warning with MinGW-w64Franklin Mathieu2016-04-161-1/+1
| | | | This happened because __builtin_expect compares the pointer to an int.
* fixes #556 Support security attributes for Windows IPCTimothee 'TTimo' Besset2015-12-092-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 assertGarrett D'Amore2015-11-202-31/+21
| | | | fixes #230 Bad file descriptor [9] (src/aio/poller_epoll.inc:107)
* fixes #77 assertion failure (NN_QUEUE_NOTINQUEUE)Garrett D'Amore2015-11-101-0/+7
|
* fixes #465 numerous compiler warnings when built with -Wall -WextraGarrett D'Amore2015-10-221-1/+2
|
* fixes #476 TCP shutdown problemGarrett D'Amore2015-10-211-5/+1
|
* fixes #391 Call to poll() in crash in __pollsysGarrett D'Amore2015-07-131-2/+2
|
* fixes #431 epoll compilation fails on SmartOSGarrett D'Amore2015-07-131-1/+2
|
* Fix tcpmux stuff on SolarisMartin Sustrik2014-11-211-9/+29
| | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
* Check for presence of msghdr.msg_controlMartin Sustrik2014-11-201-0/+3
| | | | | | The field doesn't exist on some old systems. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
* Debug output removedMartin Sustrik2014-11-201-1/+0
| | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
* Missing include addedMartin Sustrik2014-11-201-0/+1
| | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
* Bound side of tcpmux transport implementedMartin Sustrik2014-11-204-8/+66
| | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
* Missing include addedMartin Sustrik2014-11-161-0/+1
| | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
* Copyright transfer from 250bpm s.r.o. to Martin SustrikMartin Sustrik2014-11-1230-30/+30
| | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
* added missing includeTobias Peters2014-11-071-0/+1
| | | | Signed-off-by: Tobias Peters <tobias.peters@kreativeffekt.at>
* Bug in Win version of usock fixedMartin Sustrik2014-11-041-2/+2
| | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
* Error reporting on Windows slightly improvedMartin Sustrik2014-10-311-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 selectedAram Santogidis2014-10-231-2/+5
| | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
* Cleanup of nn_queue_remove function.Martin Sustrik2014-07-103-4/+4
| | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
* Fix compilation warning.Martin Sustrik2014-07-101-1/+2
| | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
* Added socket's life cycle stress test.Ark Degtiarov2014-07-104-3/+14
| | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
* Fixed diagrams generation issuesArk Degtiarov2014-07-101-6/+10
| | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
* Fix overlapped I/O on Windows. Provide a test.Timothee Besset2014-07-101-1/+1
| | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
* Bug in NamedPipes-related error handling fixedMartin Sustrik2014-06-071-18/+17
| | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
* Final part of NamedPipes mergeMartin Sustrik2014-06-071-3/+5
| | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
* More NamedPipe-related mergingMartin Sustrik2014-06-071-4/+24
| | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
* Couple of small patches to NamedPipesMartin Sustrik2014-06-071-3/+3
| | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
* nn_usock_recv of NamedPipes mergedMartin Sustrik2014-06-071-7/+17
| | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
* nn_usock_send for NamedPipes mergedMartin Sustrik2014-06-071-9/+37
| | | | Signed-off-by: Martin Sustrik <sustrik@250bpm.com>