| Branch: | Tag: | Revision:

gdp / gdp / gdp_buf.c @ master

History | View | Annotate | Download (11.7 KB)

# Date Author Comment
c87dd166 01/23/2019 07:56 AM Eric Allman

Update license date on all files. No functional changes.

328ab6a8 01/23/2018 05:34 PM Eric Allman

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.

bfecf573 01/23/2018 05:20 PM Eric Allman

Rather non-intuitive changes to suppress "return value not used"
warning; just (void)ing the call no longer works.

5a73c6ad 11/08/2017 12:36 PM Eric Allman

First cut at new net protocol. Compiles, but not yet tested (not even
once --- do not try to run this!).

a5d01ba1 03/29/2017 04:01 PM Eric Allman

Fix bogus error return from gdp_buf_copy if the buffer length is zero.

ea5ae342 03/10/2017 01:21 AM Eric Allman

Don't default to using evbuffer_add_buffer_reference, which seems to
have some semantic problems.

dd081d69 02/07/2017 10:01 AM Eric Allman

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.

897accec 02/06/2017 10:41 AM Eric Allman

Update licenses to 2017.

1d6925ca 02/06/2017 10:36 AM Eric Allman

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

7bc0e2cf 12/11/2016 08:51 AM Eric Allman

Snapshot: get basic reading working again with new lock changes.

e7b2a80c 11/22/2016 02:22 PM Eric Allman

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.

276bb271 09/30/2016 08:25 AM Eric Allman

Print error messages if some of the libevent evbuffer_* calls fail in an
attempt to discover why advertisements sometimes fail.

af06cfb4 09/14/2016 03:38 PM Eric Allman

Add buffer routines for signed and 16 bit integers.

0d8c13e8 08/27/2016 08:36 AM Eric Allman

Make many parameters "const" where possible.

498d08e3 08/18/2016 09:34 AM Eric Allman

Add gdp_buf_lock/unlock; change gdp_buf_move parameters to be more

76aa13ad 07/19/2016 03:43 PM Eric Allman

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
don't use.

39f2b683 06/28/2016 01:41 PM Eric Allman

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.

aefbbfd2 04/05/2016 09:55 AM Paul Bramsen

Make gdp_buf_write in buffer const

6bd5476b 12/01/2015 01:22 PM Eric Allman

Update license. No code changes.

055d3009 11/21/2015 01:20 PM Eric Allman

Include copyright in all files. There are scripts to do bulk
replacement of the copyright if desired.

b45c1b3c 12/29/2014 09:28 AM Eric Allman

Add comments to gdp_buf.c.

a0a21282 12/27/2014 03:48 PM Eric Allman

Adjustments for new PDU format, better error checking, etc.

723cc82b 10/07/2014 07:55 AM Eric Allman

Portability patches.

2e4a5d7d 09/12/2014 12:52 PM Eric Allman

First cut at returning multiple results. This extends "subscribe" to
have a starting record number and a record count.

22442bd4 09/08/2014 03:37 PM Eric Allman

Hide data structure internals by wrapping them in functions. This also
updates the documentation, but it hasn't been significantly reviewed

a2be4838 08/19/2014 03:25 PM Eric Allman

Remember to include gdp_buf.c, gdp_msg.c, gdp_req.c.