aboutsummaryrefslogtreecommitdiff
path: root/src/transport
Commit message (Collapse)AuthorAge
* Fixes for 32-bit Windows compilation.Garrett D'Amore2017-01-16
|
* Various complaints found in AppVeyor build.Garrett D'Amore2017-01-16
|
* Windows TCP now working.Garrett D'Amore2017-01-14
| | | | | | | There are lots of changes here, mostly stuff we did in support of Windows TCP. However, there are some bugs that were fixed, and we added some new error codes, and generalized the handling of some failures during accept. Windows IPC (NamedPipes) is still missing.
* Add IPC (UNIX domain sockets) for POSIX, and test suite.Garrett D'Amore2017-01-12
|
* Shut up uncrustify.Garrett D'Amore2017-01-06
|
* Bunch of copyright fixes.Garrett D'Amore2017-01-06
|
* Message API was awkward.Garrett D'Amore2017-01-06
| | | | | | | The use of a single function to get both size and length actually turned out to be awkward to use; better to have separate functions to get each. While here, disable some of the initialization/fork checks, because it turns out they aren't needed.
* Change a bunch of copyrights to 2017 for work done since the 1st.Garrett D'Amore2017-01-05
|
* Fixes for TCP transport. Working now.Garrett D'Amore2017-01-04
|
* Fix close related races (POSIX close is a PITA).Garrett D'Amore2017-01-04
|
* TCP listen and accept test.Garrett D'Amore2017-01-04
| | | | There is an occasional use-after-free bug we need to fix still.
* Test for duplicate address listen, and fix in TCP for same.Garrett D'Amore2017-01-04
|
* Starting a common transport testing framework.Garrett D'Amore2017-01-04
|
* Initial cut at TCP, totally untested beyond compilation.Garrett D'Amore2017-01-04
| | | | | This also adds checks in the protocols to verify that pipe peers are of the proper protocol.
* Fixes to enable REQ/REP to operate.Garrett D'Amore2017-01-02
| | | | | | | This uncovered a few problems - inproc was not moving the headers to the body on transmit, and the message chunk allocator had a serious bug leading to memory corruption. I've also added a message dumper, which turns out to be incredibly useful during debugging.
* Transport renaming.Garrett D'Amore2017-01-02
|
* Transport renaming phase 1.Garrett D'Amore2017-01-02
|
* Change msgqueue -> msgq.Garrett D'Amore2017-01-02
|
* Use new NNI_ALLOC_STRUCT macro. nni_msg_dup copies options too.Garrett D'Amore2017-01-02
|
* Clear the connected pipe so dialers don't reuse earlier pipes.Garrett D'Amore2017-01-01
|
* inproc uses new mutex/condvars.Garrett D'Amore2017-01-01
|
* Close & destroy endpoints in a single operation.Garrett D'Amore2016-12-31
|
* More directed wakeups (and hopefully resolve races) for inproc.Garrett D'Amore2016-12-31
|
* Substantial fixes for listen & dialers.Garrett D'Amore2016-12-25
| | | | | | | | | | At this point listening and dialing operations appear to function properly. As part of this I had to break the close logic up since otherwise we had a loop trying to reap a thread from itself. So there is now a separate reaper thread for pipes per-socket. I also changed lists to be a bit more rigid, and allocations now zero memory initially. (We had bugs due to uninitialized memory, and rather than hunt them all down, lets just init them to sane zero values.)
* Change entry points in transports to bind() and connect().Garrett D'Amore2016-12-25
| | | | | | | This was done as these entry points are more clearly associated with single function transport routines like those from BSD sockets, unlike our higher level dial() and listen() APIs that do accept() or reconnect in loops.
* Fix crash when destroying inproc endpoint.Garrett D'Amore2016-12-25
|
* More C99-ification. Also end the _t thing for types (ISO C rules).Garrett D'Amore2016-12-22
|
* Endpoint dialer implemented.Garrett D'Amore2016-12-22
|
* Work on endpoints. More C99 & type cleanups.Garrett D'Amore2016-12-22
|
* Inline locks (fewer allocs), simpler absolute times for wakeups. nn_sock_recv.Garrett D'Amore2016-12-22
|
* Synchronization enhancements - inproc & msgqueue. Absolute waits...Garrett D'Amore2016-12-22
|
* Use C99 structure initializers FTW. Various other changes.Garrett D'Amore2016-12-22
|
* Ditch our own snprintf/vsnprintf (C99). Symbol naming fixes for inproc.Garrett D'Amore2016-12-21
|
* Uncrustify configuration, and shorter copyright banners, plus reformatGarrett D'Amore2016-12-21
| | | | code with uncrustify. (Minor adjustments.) No more arguments!
* Add ep_destroy implemenation to inproc.Garrett D'Amore2016-12-14
|
* More comments, and detection of fork-reentrancy. Much effort was spentGarrett D'Amore2016-12-13
| | | | trying to come to a fork-safe solution, but ultimately we gave up.
* Minor tweak to transport API, new declarations for protocols.Garrett D'Amore2016-12-12
|
* Added threading primitives, more complete transport API.Garrett D'Amore2016-12-12
|
* New inproc transport.Garrett D'Amore2016-12-12
Lots of supporting changes.