Code

sysdb.git
9 years agoautogen.sh: Report an error if yacc or lex are missing.
Sebastian Harl [Wed, 4 Jun 2014 19:50:07 +0000 (21:50 +0200)]
autogen.sh: Report an error if yacc or lex are missing.

Thanks to Uli Martens for reporting this.

9 years agot/Makefile: Added valgrind.suppress to EXTRA_DIST.
Sebastian Harl [Sun, 1 Jun 2014 16:42:40 +0000 (18:42 +0200)]
t/Makefile: Added valgrind.suppress to EXTRA_DIST.

9 years agoversion-gen.sh: Append .git to default version again.
Sebastian Harl [Sun, 1 Jun 2014 16:41:17 +0000 (18:41 +0200)]
version-gen.sh: Append .git to default version again.

9 years agoRelease SysDB 0.1.0. sysdb-0.1.0
Sebastian Harl [Sun, 1 Jun 2014 15:56:19 +0000 (17:56 +0200)]
Release SysDB 0.1.0.

\o/

9 years agodoc/asciidoc.conf: Use html5 in custom macros as well.
Sebastian Harl [Sun, 1 Jun 2014 10:03:01 +0000 (12:03 +0200)]
doc/asciidoc.conf: Use html5 in custom macros as well.

9 years agodoc/: Use HTML5 instead of XHTML1.1 for HTML manpages.
Sebastian Harl [Sun, 1 Jun 2014 09:59:22 +0000 (11:59 +0200)]
doc/: Use HTML5 instead of XHTML1.1 for HTML manpages.

9 years agodoc/: Removed now unused CSS.
Sebastian Harl [Sun, 1 Jun 2014 07:55:25 +0000 (09:55 +0200)]
doc/: Removed now unused CSS.

9 years agodoc/: Added local rules to hook HTML manpages into 'make (install-)html'.
Sebastian Harl [Sun, 1 Jun 2014 05:16:08 +0000 (07:16 +0200)]
doc/: Added local rules to hook HTML manpages into 'make (install-)html'.

9 years agoconfigure: Check if AM_PROG_AR is defined.
Sebastian Harl [Sat, 31 May 2014 20:57:02 +0000 (22:57 +0200)]
configure: Check if AM_PROG_AR is defined.

It's not defined when using old versions of automake.

9 years agosysdbd.conf(5): Link to all plugin manpages.
Sebastian Harl [Fri, 30 May 2014 12:38:57 +0000 (14:38 +0200)]
sysdbd.conf(5): Link to all plugin manpages.

9 years agoconfigure, doc: Added ADOCFLAGS.
Sebastian Harl [Mon, 26 May 2014 07:44:21 +0000 (09:44 +0200)]
configure, doc: Added ADOCFLAGS.

This allows the user to specify additional flags for AsciiDoc.

9 years agodoc: Use asciidoc instead of a2x and added asciidoc.conf.
Sebastian Harl [Fri, 23 May 2014 17:46:37 +0000 (19:46 +0200)]
doc: Use asciidoc instead of a2x and added asciidoc.conf.

This allows to specify custom macros, which is currently used to turn
references to other manpages into links in the HTML output. In general, it
will make it easier to apply customizations.

9 years agodoc/sysdb-man.css: Applied tokkee.org-like style.
Sebastian Harl [Tue, 20 May 2014 13:34:17 +0000 (15:34 +0200)]
doc/sysdb-man.css: Applied tokkee.org-like style.

9 years agodoc/Makefile: Removed the dependency on docbook-xsl.css.
Sebastian Harl [Tue, 20 May 2014 13:27:15 +0000 (15:27 +0200)]
doc/Makefile: Removed the dependency on docbook-xsl.css.

Also, get rid of the ugly hack to "create" it.

9 years agodoc: Added a minimalistic custom CSS for manpages.
Sebastian Harl [Mon, 19 May 2014 18:21:17 +0000 (20:21 +0200)]
doc: Added a minimalistic custom CSS for manpages.

9 years agotests: Suppress valgrind errors found in gcov_exit.
Sebastian Harl [Mon, 19 May 2014 07:18:28 +0000 (09:18 +0200)]
tests: Suppress valgrind errors found in gcov_exit.

They don't matter for us.

9 years agostrbuf_test: Added some tests based on sdb_strbuf_cap().
Sebastian Harl [Fri, 16 May 2014 15:38:38 +0000 (17:38 +0200)]
strbuf_test: Added some tests based on sdb_strbuf_cap().

These are mostly for checking memory handling.

9 years agostrbuf utils: Added sdb_strbuf_cap().
Sebastian Harl [Fri, 16 May 2014 06:49:38 +0000 (08:49 +0200)]
strbuf utils: Added sdb_strbuf_cap().

This function returns the "capacity" of the string buffer. It's useful mostly
for testing, debugging, etc.

9 years agostrbuf utils: Fixed resizing in append.
Sebastian Harl [Fri, 16 May 2014 06:48:40 +0000 (08:48 +0200)]
strbuf utils: Fixed resizing in append.

Previously, resizing happened "too early" which may possibly generate
avoidable memory churn.

9 years agostrbuf_test: Added some more tests.
Sebastian Harl [Thu, 15 May 2014 17:25:08 +0000 (19:25 +0200)]
strbuf_test: Added some more tests.

Changed some test to be table-based and verify the result of the incremental
append test.

9 years agostrbuf_test: Cleaned up the code a bit.
Sebastian Harl [Thu, 15 May 2014 07:34:38 +0000 (09:34 +0200)]
strbuf_test: Cleaned up the code a bit.

Made golden_data arrays private to the respective function where possible and
removed "sdb_strbuf" from test names.

9 years agot/: Run all unit tests through valgrind.
Sebastian Harl [Wed, 14 May 2014 19:49:36 +0000 (21:49 +0200)]
t/: Run all unit tests through valgrind.

This is implemented through a wrapper script which will run its arguments
through valgrind if the first parameter matches "unit/". It is passed in to
'make test' using automake's TESTS_ENVIRONMENT variable.

9 years agodbi_test: Don't allocate any memory in dbi_driver_open_r().
Sebastian Harl [Wed, 14 May 2014 19:33:25 +0000 (21:33 +0200)]
dbi_test: Don't allocate any memory in dbi_driver_open_r().

This memory would be lost and appears as irrelevant noise in valgrind memory
checks.

9 years agoconnection_test: Free username strings stored in mock connection objects.
Sebastian Harl [Wed, 14 May 2014 19:31:49 +0000 (21:31 +0200)]
connection_test: Free username strings stored in mock connection objects.

9 years agofrontend: Simplified error handling.
Sebastian Harl [Wed, 14 May 2014 19:14:00 +0000 (21:14 +0200)]
frontend: Simplified error handling.

9 years agofrontend: Execute commands early on large amounts of incoming traffic.
Sebastian Harl [Wed, 14 May 2014 19:03:43 +0000 (21:03 +0200)]
frontend: Execute commands early on large amounts of incoming traffic.

This will free up buffer space if possible.

9 years agofrontend: Handle missing authentication early.
Sebastian Harl [Wed, 14 May 2014 18:55:29 +0000 (20:55 +0200)]
frontend: Handle missing authentication early.

… and limit the max amount of buffered data for unauthenticated connections in
order reduce the impact of anonymous DoS attempts.

9 years agofrontend: Fix invalid command handling when receiving data in chunks.
Sebastian Harl [Wed, 14 May 2014 18:38:17 +0000 (20:38 +0200)]
frontend: Fix invalid command handling when receiving data in chunks.

When skipping over invalid command data, make sure not to skip more data than
what's currently available. Rather, remember how much data needs to be ignored
and do so after actually receiving it.

Added a new test which catches these cases and also provides some more
low-level communication tests.

9 years agofrontend: Treat CONNECTION_IDLE as an invalid command.
Sebastian Harl [Tue, 13 May 2014 21:33:52 +0000 (23:33 +0200)]
frontend: Treat CONNECTION_IDLE as an invalid command.

This is only meant for internal use; don't silently ignore it.

9 years agostrbuf: Free memory when it's not longer needed.
Sebastian Harl [Mon, 12 May 2014 11:29:29 +0000 (13:29 +0200)]
strbuf: Free memory when it's not longer needed.

While this might generate some churn in some situations, care has been taken
to avoid this as much as possible while providing a (hopefully) good balance
between memory usage and the need to reallocate memory.

9 years agoReleaseNotes: Added a summary of the utility functions.
Sebastian Harl [Mon, 12 May 2014 10:49:21 +0000 (12:49 +0200)]
ReleaseNotes: Added a summary of the utility functions.

9 years agoREADME: Extended installation instructions a bit.
Sebastian Harl [Mon, 12 May 2014 10:36:29 +0000 (12:36 +0200)]
README: Extended installation instructions a bit.

9 years agoUnified project description across all documentation.
Sebastian Harl [Mon, 12 May 2014 10:25:56 +0000 (12:25 +0200)]
Unified project description across all documentation.

9 years agoMakefile: Add ReleaseNotes to a dist tarball.
Sebastian Harl [Fri, 9 May 2014 17:48:12 +0000 (19:48 +0200)]
Makefile: Add ReleaseNotes to a dist tarball.

9 years agoMake libsysdb and libsysdbclient private libraries for now.
Sebastian Harl [Fri, 9 May 2014 17:44:37 +0000 (19:44 +0200)]
Make libsysdb and libsysdbclient private libraries for now.

The API is not yet stable enough for that purpose.

9 years agoAdded initial version of the release notes.
Sebastian Harl [Fri, 9 May 2014 17:37:15 +0000 (19:37 +0200)]
Added initial version of the release notes.

9 years agoMakefile: Added missing headers to _HEADERS variables.
Sebastian Harl [Fri, 9 May 2014 14:29:57 +0000 (16:29 +0200)]
Makefile: Added missing headers to _HEADERS variables.

9 years agosysdbd(1): Documented all signals handled by the daemon.
Sebastian Harl [Fri, 9 May 2014 14:25:25 +0000 (16:25 +0200)]
sysdbd(1): Documented all signals handled by the daemon.

9 years agosysdb(7): Added a manpage providing an overview of SysDB.
Sebastian Harl [Tue, 6 May 2014 08:45:03 +0000 (10:45 +0200)]
sysdb(7): Added a manpage providing an overview of SysDB.

9 years agosysdbql(7): Fixed a typo.
Sebastian Harl [Mon, 5 May 2014 15:46:12 +0000 (17:46 +0200)]
sysdbql(7): Fixed a typo.

9 years agosysdb(1): Added sysdbql(7) to "see also".
Sebastian Harl [Mon, 5 May 2014 15:37:23 +0000 (17:37 +0200)]
sysdb(1): Added sysdbql(7) to "see also".

9 years agosysdbql(7): Document the query language.
Sebastian Harl [Mon, 5 May 2014 15:35:20 +0000 (17:35 +0200)]
sysdbql(7): Document the query language.

9 years agodocumentation: Unified author information.
Sebastian Harl [Sun, 4 May 2014 16:13:03 +0000 (18:13 +0200)]
documentation: Unified author information.

9 years agosysdb(1): Be more verbose about the exit status when using the -c option.
Sebastian Harl [Sun, 4 May 2014 16:05:45 +0000 (18:05 +0200)]
sysdb(1): Be more verbose about the exit status when using the -c option.

9 years agocoverage.sh: Refresh build system (and meta information).
Sebastian Harl [Sat, 3 May 2014 21:31:35 +0000 (23:31 +0200)]
coverage.sh: Refresh build system (and meta information).

9 years agointegration/test_lib: Manage the sysdbd PID centrally.
Sebastian Harl [Fri, 2 May 2014 15:36:08 +0000 (17:36 +0200)]
integration/test_lib: Manage the sysdbd PID centrally.

This way, we actually get the right PID outside of the wrapper function and
test_lib can make sure the process is terminated on EXIT.

9 years agosysdb: Fixed incompatible pointer type warning reported by clang.
Sebastian Harl [Fri, 2 May 2014 15:27:40 +0000 (17:27 +0200)]
sysdb: Fixed incompatible pointer type warning reported by clang.

9 years agocibuild.sh: Don't run regular tests when using the address sanitizer.
Sebastian Harl [Fri, 2 May 2014 15:15:57 +0000 (17:15 +0200)]
cibuild.sh: Don't run regular tests when using the address sanitizer.

valgrind does not play well with the address sanitizer. Also, there's no need
to rerun the regular tests on asan generated code (which is a test on its
own).

9 years agointegration tests: Use LD_PRELOAD only when running SysDB tools.
Sebastian Harl [Fri, 2 May 2014 15:13:15 +0000 (17:13 +0200)]
integration tests: Use LD_PRELOAD only when running SysDB tools.

Just as a cleanup.

9 years agotools: Log library versions as well on startup.
Sebastian Harl [Thu, 1 May 2014 21:19:50 +0000 (23:19 +0200)]
tools: Log library versions as well on startup.

9 years agodoc/Makefile: Added all asciidoc files to EXTRA_DIST and clean up all doc.
Sebastian Harl [Thu, 1 May 2014 21:05:03 +0000 (23:05 +0200)]
doc/Makefile: Added all asciidoc files to EXTRA_DIST and clean up all doc.

9 years agointegration/test_lib: Pass -U mockuser to sysdb.
Sebastian Harl [Thu, 1 May 2014 20:55:39 +0000 (22:55 +0200)]
integration/test_lib: Pass -U mockuser to sysdb.

getpwuid_r on Travis leaks some memory which causes the valgrind tests to fail
:-/

9 years agointegration tests: Use LD_PRELOAD instead of chrpath.
Sebastian Harl [Thu, 1 May 2014 19:57:55 +0000 (21:57 +0200)]
integration tests: Use LD_PRELOAD instead of chrpath.

chrpath requires that the new path be shorter or the same length as the
previous path.

9 years agointegration/simple_query: More explicitly document expected exit codes.
Sebastian Harl [Thu, 1 May 2014 14:20:10 +0000 (16:20 +0200)]
integration/simple_query: More explicitly document expected exit codes.

9 years agointegration/simple_query: Added more types of simple queries.
Sebastian Harl [Thu, 1 May 2014 14:15:43 +0000 (16:15 +0200)]
integration/simple_query: Added more types of simple queries.

9 years agosysdb: When handling a reply, base further actions on the response code.
Sebastian Harl [Thu, 1 May 2014 14:02:59 +0000 (16:02 +0200)]
sysdb: When handling a reply, base further actions on the response code.

This will actually enable the command handler to see whether a log message or
a query response was received.

Also, this ensures that the command handler may correctly detect errors during
query execution and exit with a non-zero code accordingly. The simple_query
integration test was updated to reflect this new, corrected behavior. Thanks
to the test for actually catching this misbehavior! :-)

9 years agosysdb: When using -c, wait for the server's final response.
Sebastian Harl [Thu, 1 May 2014 13:56:23 +0000 (15:56 +0200)]
sysdb: When using -c, wait for the server's final response.

There might be some intermediate log messages, which should be printed but
then we need to wait for further replies.

9 years agointegration/simple_query.sh: Test a failing command.
Sebastian Harl [Wed, 30 Apr 2014 21:50:09 +0000 (23:50 +0200)]
integration/simple_query.sh: Test a failing command.

9 years agosysdb: When using -c, exit non-zero if any command failed.
Sebastian Harl [Wed, 30 Apr 2014 21:49:25 +0000 (23:49 +0200)]
sysdb: When using -c, exit non-zero if any command failed.

9 years agointegration/simple_query.sh: Added some more simple queries.
Sebastian Harl [Wed, 30 Apr 2014 21:47:15 +0000 (23:47 +0200)]
integration/simple_query.sh: Added some more simple queries.

9 years agobuild system: Disable integration tests if valgrind or chrpath are missing.
Sebastian Harl [Wed, 30 Apr 2014 21:16:12 +0000 (23:16 +0200)]
build system: Disable integration tests if valgrind or chrpath are missing.

9 years agoREADME: Updated documentation about (integration) tests.
Sebastian Harl [Wed, 30 Apr 2014 21:01:38 +0000 (23:01 +0200)]
README: Updated documentation about (integration) tests.

9 years agoMerged branch 'master' of git://git.tokkee.org/sysdb.
Sebastian Harl [Wed, 30 Apr 2014 20:58:52 +0000 (22:58 +0200)]
Merged branch 'master' of git://git.tokkee.org/sysdb.

9 years agointegration/test_lib.sh: Copy binaries from $TOP_SRCDIR.
Sebastian Harl [Wed, 30 Apr 2014 20:58:29 +0000 (22:58 +0200)]
integration/test_lib.sh: Copy binaries from $TOP_SRCDIR.

D'oh!

9 years agointegration tests: Run all invocations through valgrind's memcheck.
Sebastian Harl [Wed, 30 Apr 2014 09:43:24 +0000 (11:43 +0200)]
integration tests: Run all invocations through valgrind's memcheck.

… covering, both, sysdb and sysdbd. For that to work, copy the binaries and
libraries to the temp directory and change the rpath to point to the temp
directory. This ensures the test is independent of any configure flags and
installation directories.

Let the tests fail if a leak (or other error) was detected by valgrind.

9 years agosimple_query.sh: Store output in a variable before analyzing it.
Sebastian Harl [Wed, 30 Apr 2014 09:39:52 +0000 (11:39 +0200)]
simple_query.sh: Store output in a variable before analyzing it.

This ensures that we actually get and check the right exit code.

9 years agointegration tests: Kill the right process when shutting down sysdbd.
Sebastian Harl [Wed, 30 Apr 2014 09:38:06 +0000 (11:38 +0200)]
integration tests: Kill the right process when shutting down sysdbd.

Also, wait for it to terminate.

9 years agodoc: Added documentation for all existing plugins.
Sebastian Harl [Tue, 29 Apr 2014 22:29:21 +0000 (00:29 +0200)]
doc: Added documentation for all existing plugins.

Added one manpage for each plugin.

9 years agodoc: (Re)generate and install the default asciidoc CSS stylesheet.
Sebastian Harl [Tue, 29 Apr 2014 21:27:14 +0000 (23:27 +0200)]
doc: (Re)generate and install the default asciidoc CSS stylesheet.

9 years ago.gitignore: Ignore asciidoc generated HTML output.
Sebastian Harl [Tue, 29 Apr 2014 21:14:18 +0000 (23:14 +0200)]
.gitignore: Ignore asciidoc generated HTML output.

9 years agodoc: Build and install HTML documentation as well.
Sebastian Harl [Tue, 29 Apr 2014 21:12:50 +0000 (23:12 +0200)]
doc: Build and install HTML documentation as well.

For now, build HTML variants of the manpages but without any index file or
similar.

9 years agosysdbd.conf(5): Documented the LoadPlugin and PluginDir options.
Sebastian Harl [Tue, 29 Apr 2014 20:36:39 +0000 (22:36 +0200)]
sysdbd.conf(5): Documented the LoadPlugin and PluginDir options.

9 years agosysdbd: Don't leak memory when aborting from the main loop.
Sebastian Harl [Tue, 29 Apr 2014 17:48:19 +0000 (19:48 +0200)]
sysdbd: Don't leak memory when aborting from the main loop.

9 years agoclient: Fixed a memory leak in case connection setup fails.
Sebastian Harl [Tue, 29 Apr 2014 17:47:18 +0000 (19:47 +0200)]
client: Fixed a memory leak in case connection setup fails.

9 years agot/integration/: Added variables for sysdbd/sysdb/sysdb.conf.
Sebastian Harl [Mon, 28 Apr 2014 07:52:35 +0000 (09:52 +0200)]
t/integration/: Added variables for sysdbd/sysdb/sysdb.conf.

9 years agot/coverage.sh: Don't use --disable-shared.
Sebastian Harl [Mon, 28 Apr 2014 06:14:47 +0000 (08:14 +0200)]
t/coverage.sh: Don't use --disable-shared.

Else, mock_plugin.so won't be available during 'make test'.

9 years agot/Makefile: Added integration test script to EXTRA_DIST.
Sebastian Harl [Mon, 28 Apr 2014 06:06:57 +0000 (08:06 +0200)]
t/Makefile: Added integration test script to EXTRA_DIST.

9 years agot/integration/simple_query: Added test doing a simple query.
Sebastian Harl [Mon, 28 Apr 2014 06:00:30 +0000 (08:00 +0200)]
t/integration/simple_query: Added test doing a simple query.

9 years agot/integration/mock_plugin: Added plugin for integration tests.
Sebastian Harl [Mon, 28 Apr 2014 05:59:13 +0000 (07:59 +0200)]
t/integration/mock_plugin: Added plugin for integration tests.

9 years agot/integration: Added simple framework for integration tests.
Sebastian Harl [Mon, 28 Apr 2014 05:57:46 +0000 (07:57 +0200)]
t/integration: Added simple framework for integration tests.

Added a test using very simple configuration snippets.

9 years agosysdbd: Return with status=1 in case of an initialization or config error.
Sebastian Harl [Sun, 27 Apr 2014 15:16:19 +0000 (17:16 +0200)]
sysdbd: Return with status=1 in case of an initialization or config error.

9 years agofrontend: Make UNIX sockets the default listener implementation.
Sebastian Harl [Sun, 27 Apr 2014 14:53:50 +0000 (16:53 +0200)]
frontend: Make UNIX sockets the default listener implementation.

9 years agosysdbd: Improved startup logging.
Sebastian Harl [Sun, 27 Apr 2014 14:44:24 +0000 (16:44 +0200)]
sysdbd: Improved startup logging.

Don't log success until all initialization is actually done. Also, don't
enable the connection logger until before entering the frontend main loop.

9 years agosysdbd.conf: Added 'PluginDir' config option.
Sebastian Harl [Sun, 27 Apr 2014 14:30:43 +0000 (16:30 +0200)]
sysdbd.conf: Added 'PluginDir' config option.

9 years agocore: Make the plugin directory configurable.
Sebastian Harl [Sun, 27 Apr 2014 10:44:53 +0000 (12:44 +0200)]
core: Make the plugin directory configurable.

10 years agodbi utils: Added compat layer for DBI < 0.9.
Sebastian Harl [Sat, 26 Apr 2014 22:24:13 +0000 (00:24 +0200)]
dbi utils: Added compat layer for DBI < 0.9.

10 years ago.gitignore: Ignore test-suite.log.
Sebastian Harl [Sat, 26 Apr 2014 21:17:50 +0000 (23:17 +0200)]
.gitignore: Ignore test-suite.log.

10 years agodbi utils: Use the new _r interface.
Sebastian Harl [Sat, 26 Apr 2014 21:14:11 +0000 (23:14 +0200)]
dbi utils: Use the new _r interface.

10 years agoMoved unit tests into t/unit/ subdirectory.
Sebastian Harl [Sat, 26 Apr 2014 20:42:47 +0000 (22:42 +0200)]
Moved unit tests into t/unit/ subdirectory.

10 years agoMerged branch 'master' of git://git.tokkee.org/sysdb.
Sebastian Harl [Fri, 25 Apr 2014 22:51:05 +0000 (00:51 +0200)]
Merged branch 'master' of git://git.tokkee.org/sysdb.

10 years agofrontend: Added destructors for dynamically allocated objects in the parser.
Sebastian Harl [Fri, 25 Apr 2014 22:14:37 +0000 (00:14 +0200)]
frontend: Added destructors for dynamically allocated objects in the parser.

This will make sure that the memory is freed in case of parse errors.

10 years agofrontend: Fixed deprecated %name-prefix syntax.
Sebastian Harl [Fri, 25 Apr 2014 22:05:28 +0000 (00:05 +0200)]
frontend: Fixed deprecated %name-prefix syntax.

10 years agofrontend: FETCH, LIST, LOOKUP are untyped tokens.
Sebastian Harl [Fri, 25 Apr 2014 22:04:33 +0000 (00:04 +0200)]
frontend: FETCH, LIST, LOOKUP are untyped tokens.

10 years agocore: Don't leak memory upon an error in the collector loop.
Sebastian Harl [Fri, 25 Apr 2014 14:11:11 +0000 (16:11 +0200)]
core: Don't leak memory upon an error in the collector loop.

10 years agocore: Don't leak memory when shutting down the collector loop.
Sebastian Harl [Fri, 25 Apr 2014 14:09:15 +0000 (16:09 +0200)]
core: Don't leak memory when shutting down the collector loop.

Instead, put the current collector object back into the list in oder to keep a
reference to it.

10 years agoconnection_test: Added a simple test for sdb_connection_accept().
Sebastian Harl [Fri, 25 Apr 2014 07:07:35 +0000 (09:07 +0200)]
connection_test: Added a simple test for sdb_connection_accept().

10 years agoconnection_test: Added first test for frontend connection handling.
Sebastian Harl [Thu, 24 Apr 2014 07:36:58 +0000 (09:36 +0200)]
connection_test: Added first test for frontend connection handling.

For now, testing a simple session startup.

10 years agofrontend: Reset the current command length on CONNECTION_IDLE.
Sebastian Harl [Thu, 24 Apr 2014 07:31:59 +0000 (09:31 +0200)]
frontend: Reset the current command length on CONNECTION_IDLE.

10 years agofrontend: Clear the error buffer when initializing a new command.
Sebastian Harl [Thu, 24 Apr 2014 07:20:19 +0000 (09:20 +0200)]
frontend: Clear the error buffer when initializing a new command.

10 years agoutils strbuf: Don't copy more than needed in sdb_strbuf_skip().
Sebastian Harl [Wed, 23 Apr 2014 21:39:58 +0000 (23:39 +0200)]
utils strbuf: Don't copy more than needed in sdb_strbuf_skip().