Update license date on all files. No functional changes.
Changes for signed/unsigned conflicts and other type nits. C++ is much
more picky about these than C, but this is probably justified. Sadly,
some of the changes are pretty ugly.
Rather non-intuitive changes to suppress "return value not used"
warning; just (void)ing the call no longer works.
First cut at new net protocol. Compiles, but not yet tested (not even
once --- do not try to run this!).
Fix bogus error return from gdp_buf_copy if the buffer length is zero.
Don't default to using evbuffer_add_buffer_reference, which seems to
have some semantic problems.
Use more efficient evbuffer data movement primitives if availailable;
also fixes a bug in previously uncompiled code that drops into a loop.
Only occurred on libevent >= 2.1.1.
Update licenses to 2017.
Debug level tweaks to make gdplogd log output more coherent. -D10 logs
less than before (use -D11 to get more-or-less what existed previously).
Some level 10s have been dropped to 9s (if they indicate error
Snapshot: get basic reading working again with new lock changes.
Extensive work on reliability, notably sharing a datum between threads.
Increases reliability, but still not fully tested. Basic things seem to
work though. Note: this may disrupt the replication code.
Print error messages if some of the libevent evbuffer_* calls fail in an
attempt to discover why advertisements sometimes fail.
Add buffer routines for signed and 16 bit integers.
Make many parameters "const" where possible.
Add gdp_buf_lock/unlock; change gdp_buf_move parameters to be more
Fix issue #20: incompatibility between APIs for evbuffer_copyout and
gdp_buf_peek. The fix is less than ideal, but better than nothing; in
any case the problem only occurs if you "freeze" a buffer, which we
Change _gdp_gcl_fwd_append to not clear the datum after it is sent.
This is because we expect a single datum to be sent to mulitple
replicas. The caller must clear the datum once all copies are sent.
Make gdp_buf_write in buffer const
Update license. No code changes.
Include copyright in all files. There are scripts to do bulk
replacement of the copyright if desired.
Add comments to gdp_buf.c.
Adjustments for new PDU format, better error checking, etc.
First cut at returning multiple results. This extends "subscribe" to
have a starting record number and a record count.
Hide data structure internals by wrapping them in functions. This also
updates the documentation, but it hasn't been significantly reviewed
Remember to include gdp_buf.c, gdp_msg.c, gdp_req.c.