Adam Dickmeiss [Fri, 9 Jul 2010 07:12:30 +0000 (09:12 +0200)]
Introduce filter method 'start'
Method 'start' can do initialization for a filter . It is
called after fork and is good for creating threads etc. Doing
that for method 'configure' is bad (threads are stopped when
fork occur).
Adam Dickmeiss [Thu, 8 Jul 2010 11:31:51 +0000 (13:31 +0200)]
Always log if init script fails to start or stop
This fixes bug #3309. The init.d script will log despite the
value of VERBOSE if start-stop-daemon returns exit code 2.
Adam Dickmeiss [Wed, 30 Jun 2010 13:25:35 +0000 (15:25 +0200)]
Fix version mentioned in NEWS
Adam Dickmeiss [Wed, 30 Jun 2010 13:18:59 +0000 (15:18 +0200)]
Remove etch, jaunty, intrepid, hardy
Adam Dickmeiss [Wed, 30 Jun 2010 12:45:01 +0000 (14:45 +0200)]
Version 1.1.7
Adam Dickmeiss [Wed, 30 Jun 2010 12:43:45 +0000 (14:43 +0200)]
NEWS
Adam Dickmeiss [Wed, 30 Jun 2010 12:39:23 +0000 (14:39 +0200)]
sru_z3950: Throw diagn. if x-pquery parsing fails
Adam Dickmeiss [Wed, 30 Jun 2010 12:30:02 +0000 (14:30 +0200)]
multi: init handshake always return init response
Adam Dickmeiss [Wed, 30 Jun 2010 12:26:23 +0000 (14:26 +0200)]
virt_db: fix uninit error_code.
The init_backend, the reference variable error_code, could be
unset in some cases. This patch fixes this. It also is more careful
not saving a backend to m_backend_list unless init result is
OK and connection is not closed.
Adam Dickmeiss [Wed, 30 Jun 2010 12:23:34 +0000 (14:23 +0200)]
session_shared: init fail: close backend.
Ensure that backend session is closed if session_shared filter receives
init rejected and backend session is not closed already.
Adam Dickmeiss [Fri, 25 Jun 2010 11:47:08 +0000 (13:47 +0200)]
Add cast to avoid warning
Adam Dickmeiss [Thu, 24 Jun 2010 13:55:38 +0000 (15:55 +0200)]
Z39.50 client: fix NULL ptr reference.
The NULL ptr reference could occur if two or more new client was
checked for number of sockets . In this case host in Z39.50 Assoc
would be NULL - prior to call to method 'client'.
Adam Dickmeiss [Mon, 21 Jun 2010 13:02:26 +0000 (15:02 +0200)]
Version 1.1.6
Adam Dickmeiss [Mon, 21 Jun 2010 13:01:47 +0000 (15:01 +0200)]
Update NEWS
Adam Dickmeiss [Mon, 21 Jun 2010 12:57:16 +0000 (14:57 +0200)]
Use _exit in SIGTERM handler, fixes bug #3497.
Adam Dickmeiss [Mon, 21 Jun 2010 11:23:36 +0000 (13:23 +0200)]
Refactor to use YAZ_SRW-diagnostic codes
Adam Dickmeiss [Mon, 21 Jun 2010 11:20:05 +0000 (13:20 +0200)]
Reformat
Adam Dickmeiss [Mon, 21 Jun 2010 11:14:04 +0000 (13:14 +0200)]
Fix SEGV in SRU filter (bug #3495).
When the sru_z3950 filter received a non-surrogate diagnostic, it
produced an uninitialized SRU record list. This is fixed by this
commit by simply defaulting number of records in SRU record list to
0 (until all "good" records are received).
Adam Dickmeiss [Tue, 15 Jun 2010 12:52:37 +0000 (14:52 +0200)]
Require yazpp 1.2.3 (with no *.la files)
Adam Dickmeiss [Tue, 15 Jun 2010 12:26:38 +0000 (14:26 +0200)]
Version 1.1.5
Adam Dickmeiss [Tue, 15 Jun 2010 12:21:31 +0000 (14:21 +0200)]
Filter record_transform: remove stdout message
Adam Dickmeiss [Tue, 15 Jun 2010 11:06:44 +0000 (13:06 +0200)]
Fix limit filter WRT 'retrieve limit' and refactor
Adam Dickmeiss [Tue, 15 Jun 2010 10:55:42 +0000 (12:55 +0200)]
virt_db refactor code WRT target select
Adam Dickmeiss [Tue, 15 Jun 2010 10:49:27 +0000 (12:49 +0200)]
Fix bug #3487: Mix of result sets ..
In filter virt_db, when result sets are replaced we pick an existing
backend and check for result set naming and number of result sets on
this backend.
Adam Dickmeiss [Wed, 2 Jun 2010 13:50:18 +0000 (15:50 +0200)]
Detect and throw Present Out of Range diagnostic
Adam Dickmeiss [Wed, 19 May 2010 14:11:19 +0000 (16:11 +0200)]
Omit CGI filter on Windows
Adam Dickmeiss [Tue, 11 May 2010 11:47:54 +0000 (13:47 +0200)]
Add Ubuntu lucid
Adam Dickmeiss [Tue, 11 May 2010 11:44:43 +0000 (13:44 +0200)]
Version 1.1.4 . Require yazpp 1.2.2
Adam Dickmeiss [Tue, 11 May 2010 12:13:08 +0000 (14:13 +0200)]
Do not depend on libgnutls-dev (libyaz4-dev does)
Adam Dickmeiss [Tue, 11 May 2010 12:12:46 +0000 (14:12 +0200)]
More news
Adam Dickmeiss [Tue, 11 May 2010 08:49:47 +0000 (10:49 +0200)]
Log Git SHA-1 for info (-V) and daemon start
Adam Dickmeiss [Tue, 11 May 2010 08:23:17 +0000 (10:23 +0200)]
Reformat
Adam Dickmeiss [Tue, 11 May 2010 08:16:54 +0000 (10:16 +0200)]
Log diagnostics regardless of searchStatus
Adam Dickmeiss [Tue, 11 May 2010 07:33:24 +0000 (09:33 +0200)]
Add include of signal.h for kill(3)
Adam Dickmeiss [Wed, 21 Apr 2010 12:36:54 +0000 (14:36 +0200)]
Update m4
Adam Dickmeiss [Wed, 21 Apr 2010 12:36:16 +0000 (14:36 +0200)]
Add IDMETA
Adam Dickmeiss [Wed, 21 Apr 2010 12:32:23 +0000 (14:32 +0200)]
Version 1.1.3
Adam Dickmeiss [Wed, 21 Apr 2010 12:28:01 +0000 (14:28 +0200)]
sru_z3950: multiple present requests as needed
The SRU to Z39.50 filter does repeated Z39.50 present requests
to fetch all records. Needed when a Z39.50 server returns partial
results (due to message size limits).
Adam Dickmeiss [Wed, 21 Apr 2010 12:00:45 +0000 (14:00 +0200)]
Extend presentResponse logging with proper status
Adam Dickmeiss [Wed, 7 Apr 2010 08:34:20 +0000 (10:34 +0200)]
Document all frontend_net configuration
Adam Dickmeiss [Fri, 19 Mar 2010 15:07:24 +0000 (16:07 +0100)]
Update schema for CGI filter configuration
Adam Dickmeiss [Thu, 18 Mar 2010 14:13:03 +0000 (15:13 +0100)]
Version 1.1.2
Adam Dickmeiss [Thu, 18 Mar 2010 13:54:05 +0000 (14:54 +0100)]
nmake: sort OBJs
Adam Dickmeiss [Thu, 18 Mar 2010 13:43:10 +0000 (14:43 +0100)]
Metaproxy program kills all children on SIGTERM
Metaproxy now kills all child processes that are spawned by
modules (in case of fork, exec).
Adam Dickmeiss [Thu, 18 Mar 2010 12:26:18 +0000 (13:26 +0100)]
Fix init of member var m_connect_max
Adam Dickmeiss [Wed, 17 Mar 2010 14:06:54 +0000 (15:06 +0100)]
CGI filter destructor kills active child processes
Adam Dickmeiss [Wed, 17 Mar 2010 13:30:58 +0000 (14:30 +0100)]
Capture SIGTERM in main prog and destroy filters
Adam Dickmeiss [Tue, 16 Mar 2010 15:14:44 +0000 (16:14 +0100)]
Close files in CGI child to close bind sock
Adam Dickmeiss [Tue, 16 Mar 2010 12:39:35 +0000 (13:39 +0100)]
Beginnings of CGI filter
Adam Dickmeiss [Fri, 29 Jan 2010 13:25:26 +0000 (14:25 +0100)]
libmetaproxy2-dev: depends on libboost-thread-dev
Adam Dickmeiss [Thu, 28 Jan 2010 11:34:56 +0000 (12:34 +0100)]
start-stop-daemon: stop using PID only
Adam Dickmeiss [Thu, 28 Jan 2010 11:31:50 +0000 (12:31 +0100)]
Version 1.1.1
Adam Dickmeiss [Thu, 28 Jan 2010 11:28:26 +0000 (12:28 +0100)]
Include conf from filters-enabled
Debian package now installs /etc/metaproxy/metaproxy.xml which
includes all XML files /etc/metaproxy/filters-enabled .
The include facility uses YAZ' yaz_xml_include_simple (YAZ 4.0.1).
Adam Dickmeiss [Wed, 20 Jan 2010 11:14:41 +0000 (12:14 +0100)]
Update gitignore for metaproxy2 pkg
Adam Dickmeiss [Wed, 20 Jan 2010 11:10:30 +0000 (12:10 +0100)]
Version 1.1.0
Adam Dickmeiss [Wed, 20 Jan 2010 11:10:02 +0000 (12:10 +0100)]
Update news
Adam Dickmeiss [Thu, 14 Jan 2010 16:10:27 +0000 (17:10 +0100)]
Package now includes modules directory
MP modules are located in /usr/lib/metaproxy/modules and is
given in config installed by Debian package metaproxy.
Adam Dickmeiss [Thu, 14 Jan 2010 16:09:42 +0000 (17:09 +0100)]
Update headers for example
Adam Dickmeiss [Thu, 14 Jan 2010 15:34:18 +0000 (16:34 +0100)]
Remove unused class XMLError1
Adam Dickmeiss [Thu, 14 Jan 2010 15:14:12 +0000 (16:14 +0100)]
Update m4
Adam Dickmeiss [Thu, 14 Jan 2010 13:09:29 +0000 (14:09 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy
Adam Dickmeiss [Thu, 14 Jan 2010 12:15:27 +0000 (13:15 +0100)]
doc-clean: removes manref.xml
Adam Dickmeiss [Wed, 13 Jan 2010 21:18:37 +0000 (22:18 +0100)]
Use yaz4 DLLs
Adam Dickmeiss [Wed, 13 Jan 2010 21:18:10 +0000 (22:18 +0100)]
Include win headers for send/recv
Adam Dickmeiss [Wed, 13 Jan 2010 21:17:32 +0000 (22:17 +0100)]
Use Win32 Sleep
Adam Dickmeiss [Wed, 13 Jan 2010 15:28:43 +0000 (16:28 +0100)]
Minor Deb package
Adam Dickmeiss [Wed, 13 Jan 2010 15:27:33 +0000 (16:27 +0100)]
Bump libmetaproxy to .so version 2
Adam Dickmeiss [Wed, 13 Jan 2010 15:18:31 +0000 (16:18 +0100)]
Depend on yaz4, yazpp4
Adam Dickmeiss [Mon, 11 Jan 2010 11:07:58 +0000 (12:07 +0100)]
New package libmetaproxy-dev
Adam Dickmeiss [Mon, 11 Jan 2010 10:20:30 +0000 (11:20 +0100)]
Public MP headers in include/metaproxy
Adam Dickmeiss [Mon, 4 Jan 2010 11:31:28 +0000 (12:31 +0100)]
Bump year
Adam Dickmeiss [Mon, 4 Jan 2010 10:08:00 +0000 (11:08 +0100)]
Version 1.0.23. Bump copyright year.
Adam Dickmeiss [Fri, 1 Jan 2010 20:47:31 +0000 (21:47 +0100)]
Filter virt_db: close backend for Init rejected
Close backend filter session when Init rejected is received from it
(in which case it's not really closed yet). This will ensure we don't
run out of resources such as FDs in this case.
Adam Dickmeiss [Tue, 22 Dec 2009 11:53:52 +0000 (12:53 +0100)]
Display std::runtime_error in test
Adam Dickmeiss [Tue, 22 Dec 2009 11:27:00 +0000 (12:27 +0100)]
Schema: change type of @database for virt_db
The attribute type is now xsd:string rather than xsd:NCName because
the database is really a glob-mask.
Adam Dickmeiss [Thu, 17 Dec 2009 14:12:47 +0000 (15:12 +0100)]
Filter limit: fix leak
Adam Dickmeiss [Thu, 17 Dec 2009 14:11:53 +0000 (15:11 +0100)]
sru_z3950 filter: Accept any database
Adam Dickmeiss [Thu, 17 Dec 2009 14:11:12 +0000 (15:11 +0100)]
LOC config: idtest also uses marc8-records section
Adam Dickmeiss [Wed, 16 Dec 2009 14:17:15 +0000 (15:17 +0100)]
http_file: fix fread call (make fetch work again)
Adam Dickmeiss [Wed, 16 Dec 2009 13:51:22 +0000 (14:51 +0100)]
Assign more threads for LOC MP
Adam Dickmeiss [Wed, 16 Dec 2009 13:27:40 +0000 (14:27 +0100)]
Annotate examples a bit
Adam Dickmeiss [Wed, 16 Dec 2009 13:27:30 +0000 (14:27 +0100)]
Simpler load-balance example config
Adam Dickmeiss [Wed, 16 Dec 2009 13:26:58 +0000 (14:26 +0100)]
No need for @id on book
Adam Dickmeiss [Thu, 3 Dec 2009 11:11:50 +0000 (12:11 +0100)]
Version 1.0.22
Adam Dickmeiss [Thu, 3 Dec 2009 10:28:07 +0000 (11:28 +0100)]
Version 1.0.21
Adam Dickmeiss [Tue, 1 Dec 2009 21:03:58 +0000 (22:03 +0100)]
Update to use Odr_int
Adam Dickmeiss [Tue, 24 Nov 2009 13:31:20 +0000 (14:31 +0100)]
Describe semantics for database for virtual target
Adam Dickmeiss [Thu, 19 Nov 2009 17:09:35 +0000 (18:09 +0100)]
modernize Doxygen file
Adam Dickmeiss [Thu, 19 Nov 2009 13:54:20 +0000 (14:54 +0100)]
Add include of string.h
Adam Dickmeiss [Thu, 19 Nov 2009 13:24:19 +0000 (14:24 +0100)]
version 1.0.20
Adam Dickmeiss [Thu, 19 Nov 2009 12:24:45 +0000 (13:24 +0100)]
Glob-pattern for virt_db match (bug #3106)
Adam Dickmeiss [Thu, 19 Nov 2009 11:23:37 +0000 (12:23 +0100)]
add_map_db2target uses add_map_db2targets
Adam Dickmeiss [Thu, 19 Nov 2009 11:22:14 +0000 (12:22 +0100)]
Using cout instead of printf
Adam Dickmeiss [Wed, 16 Sep 2009 11:59:06 +0000 (13:59 +0200)]
Fix install doc rule for Automake 1.11
Adam Dickmeiss [Mon, 13 Jul 2009 13:06:23 +0000 (15:06 +0200)]
Update YAZ Proxy comparison table
Adam Dickmeiss [Mon, 13 Jul 2009 07:44:34 +0000 (09:44 +0200)]
More complete attribute checking
Adam Dickmeiss [Fri, 10 Jul 2009 16:02:22 +0000 (18:02 +0200)]
Update to new ID URLs
Adam Dickmeiss [Wed, 8 Jul 2009 13:51:58 +0000 (15:51 +0200)]
Depend on yazpp 1.1.4
Adam Dickmeiss [Wed, 8 Jul 2009 13:49:20 +0000 (15:49 +0200)]
Version 1.0.19
Adam Dickmeiss [Wed, 8 Jul 2009 13:14:15 +0000 (15:14 +0200)]
Beef up documentation for multi, virt_db