| Commit message (Collapse) | Author | Age | |
|---|---|---|---|
| * | Free our per socket message queues. | Garrett D'Amore | 2016-12-31 |
| | | |||
| * | More use after free. | Garrett D'Amore | 2016-12-31 |
| | | |||
| * | Close & destroy endpoints in a single operation. | Garrett D'Amore | 2016-12-31 |
| | | |||
| * | Factor out repeated protocol code into common. | Garrett D'Amore | 2016-12-29 |
| | | |||
| * | Move option helpers to their own file. | Garrett D'Amore | 2016-12-29 |
| | | |||
| * | Pipe ID calculations & socket error functions. | Garrett D'Amore | 2016-12-28 |
| | | | | | | | | | | | | The use of platform_next_id was a bit off, because it could give back pipe IDs that were too large (the high order bit must be clear), and in very long running applications serving many connections, the IDs could wrap and lead to duplicates. Also we have added functions to set the recverr or senderr values, which can be used by protocols -- either during initialization, or during filters. (REQ uses this for example.) | ||
| * | Start of REQ protocol. Still need hook handling and resender. | Garrett D'Amore | 2016-12-28 |
| | | |||
| * | Send and receive now work. | Garrett D'Amore | 2016-12-27 |
| | | | | | | | This fixes a few core issues, and improves readability for the message queue code as well. inproc delivery of messages works now. | ||
| * | Buffer resizing implemented. (Needed for single threaded inproc tests.) | Garrett D'Amore | 2016-12-27 |
| | | |||
| * | Substantial fixes for listen & dialers. | Garrett D'Amore | 2016-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.) | ||
| * | New dial/listen API. Dialing might work now. | Garrett D'Amore | 2016-12-25 |
| | | | | | | | | | | In order to give control over synchronous vs. async dialing, we provide a flag to indicate synchronous dialing is desired. (Hmm. Should we reverse the default sense?) We extend listen to have the same flag. Logic is moved to endpt.c since dialing is really and endpoint specific operation. There are other minor related bug fixes here too. | ||
| * | Change in handling of extended info for messages. | Garrett D'Amore | 2016-12-24 |
| | | | | | | | | | Instead of supplying a pipe, and expecting that the info there would be included we use nng_msg_getopt(). This will be enabled by the app asking for extended information by setting an option, we don't copy the data for every app (most won't care). This means we don't have to worry about reference counting the pipe for the life of associated messages. | ||
| * | Getopt implemented (and minimal test). | Garrett D'Amore | 2016-12-24 |
| | | |||
| * | nng_setopt works (rcvtimeout, etc.) External API adjustments. | Garrett D'Amore | 2016-12-23 |
| | | | | | | | | The external API now uses simpler names for various things, notably we ditch the whole nng_socket_xx prefix. For example, intstead of nng_socket_create, we just use nng_open(). There are no more nng_socket_xxx calls. | ||
| * | Don't linger if there are no possible readers present. | Garrett D'Amore | 2016-12-23 |
| | | |||
| * | Some tests around recvmsg (no senders yet). Fixes for some edge cases. | Garrett D'Amore | 2016-12-23 |
| | | |||
| * | Initial tests -- open & close work (no pipes or endpoints yet). | Garrett D'Amore | 2016-12-23 |
| | | |||
| * | Implemened synchronous & asynchronuos dialer, accepter. Getting close... | Garrett D'Amore | 2016-12-22 |
| | | |||
| * | Added lingering (1s default.) | Garrett D'Amore | 2016-12-22 |
| | | |||
| * | Implemented dialer core. | Garrett D'Amore | 2016-12-22 |
| | | |||
| * | Endpoint dialer implemented. | Garrett D'Amore | 2016-12-22 |
| | | |||
| * | Work on endpoints. More C99 & type cleanups. | Garrett D'Amore | 2016-12-22 |
| | | |||
| * | Inline locks (fewer allocs), simpler absolute times for wakeups. nn_sock_recv. | Garrett D'Amore | 2016-12-22 |
| | | |||
| * | Use C99 structure initializers FTW. Various other changes. | Garrett D'Amore | 2016-12-22 |
| | | |||
| * | Logic for socket shutdown, cleanup, and draining figured out. | Garrett D'Amore | 2016-12-22 |
| | | | | | | There's work to do still, but I've left clear indications of the design in comments. Some ugly mysteries are now solved. | ||
| * | Uncrustify configuration, and shorter copyright banners, plus reformat | Garrett D'Amore | 2016-12-21 |
| | | | | | code with uncrustify. (Minor adjustments.) No more arguments! | ||
| * | nni_socket_add_pipe and nni_socket_remove_pipe implementation. | Garrett D'Amore | 2016-12-14 |
| | | |||
| * | More robust platform definition support. | Garrett D'Amore | 2016-12-14 |
| | | | | | | | | The idea is that someday it will be possible to just concatenate the entire set of source files into a single giant source file, for systems that want to work this way. As a result, the build system now compiles every file, although some of them will not have any definitions. | ||
| * | Socket sendfilter called. | Garrett D'Amore | 2016-12-14 |
| | | |||
| * | Better separate public vs. private names. | Garrett D'Amore | 2016-12-14 |
| | | |||
| * | Oops... Pipe list initialization was not complete. | Garrett D'Amore | 2016-12-14 |
| | | |||
| * | nn_socket_create() implemented. | Garrett D'Amore | 2016-12-14 |
| | | |||
| * | Protocols are 16-bit. | Garrett D'Amore | 2016-12-14 |
| | | |||
| * | Initial swing at pair protocol. | Garrett D'Amore | 2016-12-13 |
| | | |||
| * | More comments, and detection of fork-reentrancy. Much effort was spent | Garrett D'Amore | 2016-12-13 |
| | | | | | trying to come to a fork-safe solution, but ultimately we gave up. | ||
| * | More pipe details, and clarified locking / call order comments in transport.h. | Garrett D'Amore | 2016-12-12 |
| | | |||
| * | New inproc transport. | Garrett D'Amore | 2016-12-12 |
| | | | | | Lots of supporting changes. | ||
| * | Work in progress on sendmsg. | Garrett D'Amore | 2016-12-11 |
| | | |||
| * | New msgqueue implementation, use CLOCK_MONOTONIC if available. | Garrett D'Amore | 2016-12-11 |
| Start of socket definitions. | |||
