metaproxy-moved-to-github.git
14 years agosession_shared: init fail: close backend.
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.

14 years agoAdd cast to avoid warning
Adam Dickmeiss [Fri, 25 Jun 2010 11:47:08 +0000 (13:47 +0200)]
Add cast to avoid warning

14 years agoZ39.50 client: fix NULL ptr reference.
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'.

14 years agoVersion 1.1.6 v1.1.6
Adam Dickmeiss [Mon, 21 Jun 2010 13:02:26 +0000 (15:02 +0200)]
Version 1.1.6

14 years agoUpdate NEWS
Adam Dickmeiss [Mon, 21 Jun 2010 13:01:47 +0000 (15:01 +0200)]
Update NEWS

14 years agoUse _exit in SIGTERM handler, fixes bug #3497.
Adam Dickmeiss [Mon, 21 Jun 2010 12:57:16 +0000 (14:57 +0200)]
Use _exit in SIGTERM handler, fixes bug #3497.

14 years agoRefactor to use YAZ_SRW-diagnostic codes
Adam Dickmeiss [Mon, 21 Jun 2010 11:23:36 +0000 (13:23 +0200)]
Refactor to use YAZ_SRW-diagnostic codes

14 years agoReformat
Adam Dickmeiss [Mon, 21 Jun 2010 11:20:05 +0000 (13:20 +0200)]
Reformat

14 years agoFix SEGV in SRU filter (bug #3495).
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).

14 years agoRequire yazpp 1.2.3 (with no *.la files) v1.1.5
Adam Dickmeiss [Tue, 15 Jun 2010 12:52:37 +0000 (14:52 +0200)]
Require yazpp 1.2.3 (with no *.la files)

14 years agoVersion 1.1.5
Adam Dickmeiss [Tue, 15 Jun 2010 12:26:38 +0000 (14:26 +0200)]
Version 1.1.5

14 years agoFilter record_transform: remove stdout message
Adam Dickmeiss [Tue, 15 Jun 2010 12:21:31 +0000 (14:21 +0200)]
Filter record_transform: remove stdout message

14 years agoFix limit filter WRT 'retrieve limit' and refactor
Adam Dickmeiss [Tue, 15 Jun 2010 11:06:44 +0000 (13:06 +0200)]
Fix limit filter WRT 'retrieve limit' and refactor

14 years agovirt_db refactor code WRT target select
Adam Dickmeiss [Tue, 15 Jun 2010 10:55:42 +0000 (12:55 +0200)]
virt_db refactor code WRT target select

14 years agoFix bug #3487: Mix of result sets ..
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.

14 years agoDetect and throw Present Out of Range diagnostic
Adam Dickmeiss [Wed, 2 Jun 2010 13:50:18 +0000 (15:50 +0200)]
Detect and throw Present Out of Range diagnostic

14 years agoOmit CGI filter on Windows
Adam Dickmeiss [Wed, 19 May 2010 14:11:19 +0000 (16:11 +0200)]
Omit CGI filter on Windows

14 years agoAdd Ubuntu lucid v1.1.4
Adam Dickmeiss [Tue, 11 May 2010 11:47:54 +0000 (13:47 +0200)]
Add Ubuntu lucid

14 years agoVersion 1.1.4 . Require yazpp 1.2.2
Adam Dickmeiss [Tue, 11 May 2010 11:44:43 +0000 (13:44 +0200)]
Version 1.1.4 . Require yazpp 1.2.2

14 years agoDo not depend on libgnutls-dev (libyaz4-dev does)
Adam Dickmeiss [Tue, 11 May 2010 12:13:08 +0000 (14:13 +0200)]
Do not depend on libgnutls-dev (libyaz4-dev does)

14 years agoMore news
Adam Dickmeiss [Tue, 11 May 2010 12:12:46 +0000 (14:12 +0200)]
More news

14 years agoLog Git SHA-1 for info (-V) and daemon start
Adam Dickmeiss [Tue, 11 May 2010 08:49:47 +0000 (10:49 +0200)]
Log Git SHA-1 for info (-V) and daemon start

14 years agoReformat
Adam Dickmeiss [Tue, 11 May 2010 08:23:17 +0000 (10:23 +0200)]
Reformat

14 years agoLog diagnostics regardless of searchStatus
Adam Dickmeiss [Tue, 11 May 2010 08:16:54 +0000 (10:16 +0200)]
Log diagnostics regardless of searchStatus

14 years agoAdd include of signal.h for kill(3)
Adam Dickmeiss [Tue, 11 May 2010 07:33:24 +0000 (09:33 +0200)]
Add include of signal.h for kill(3)

14 years agoUpdate m4 v1.1.3
Adam Dickmeiss [Wed, 21 Apr 2010 12:36:54 +0000 (14:36 +0200)]
Update m4

14 years agoAdd IDMETA
Adam Dickmeiss [Wed, 21 Apr 2010 12:36:16 +0000 (14:36 +0200)]
Add IDMETA

14 years agoVersion 1.1.3
Adam Dickmeiss [Wed, 21 Apr 2010 12:32:23 +0000 (14:32 +0200)]
Version 1.1.3

14 years agosru_z3950: multiple present requests as needed
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).

14 years agoExtend presentResponse logging with proper status
Adam Dickmeiss [Wed, 21 Apr 2010 12:00:45 +0000 (14:00 +0200)]
Extend presentResponse logging with proper status

14 years agoDocument all frontend_net configuration
Adam Dickmeiss [Wed, 7 Apr 2010 08:34:20 +0000 (10:34 +0200)]
Document all frontend_net configuration

14 years agoUpdate schema for CGI filter configuration
Adam Dickmeiss [Fri, 19 Mar 2010 15:07:24 +0000 (16:07 +0100)]
Update schema for CGI filter configuration

14 years agoVersion 1.1.2 v1.1.2
Adam Dickmeiss [Thu, 18 Mar 2010 14:13:03 +0000 (15:13 +0100)]
Version 1.1.2

14 years agonmake: sort OBJs
Adam Dickmeiss [Thu, 18 Mar 2010 13:54:05 +0000 (14:54 +0100)]
nmake: sort OBJs

14 years agoMetaproxy program kills all children on SIGTERM
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).

14 years agoFix init of member var m_connect_max
Adam Dickmeiss [Thu, 18 Mar 2010 12:26:18 +0000 (13:26 +0100)]
Fix init of member var m_connect_max

14 years agoCGI filter destructor kills active child processes
Adam Dickmeiss [Wed, 17 Mar 2010 14:06:54 +0000 (15:06 +0100)]
CGI filter destructor kills active child processes

14 years agoCapture SIGTERM in main prog and destroy filters
Adam Dickmeiss [Wed, 17 Mar 2010 13:30:58 +0000 (14:30 +0100)]
Capture SIGTERM in main prog and destroy filters

14 years agoClose files in CGI child to close bind sock
Adam Dickmeiss [Tue, 16 Mar 2010 15:14:44 +0000 (16:14 +0100)]
Close files in CGI child to close bind sock

14 years agoBeginnings of CGI filter
Adam Dickmeiss [Tue, 16 Mar 2010 12:39:35 +0000 (13:39 +0100)]
Beginnings of CGI filter

14 years agolibmetaproxy2-dev: depends on libboost-thread-dev
Adam Dickmeiss [Fri, 29 Jan 2010 13:25:26 +0000 (14:25 +0100)]
libmetaproxy2-dev: depends on libboost-thread-dev

14 years agostart-stop-daemon: stop using PID only v1.1.1
Adam Dickmeiss [Thu, 28 Jan 2010 11:34:56 +0000 (12:34 +0100)]
start-stop-daemon: stop using PID only

14 years agoVersion 1.1.1
Adam Dickmeiss [Thu, 28 Jan 2010 11:31:50 +0000 (12:31 +0100)]
Version 1.1.1

14 years agoInclude conf from filters-enabled
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).

14 years agoUpdate gitignore for metaproxy2 pkg v1.1.0
Adam Dickmeiss [Wed, 20 Jan 2010 11:14:41 +0000 (12:14 +0100)]
Update gitignore for metaproxy2 pkg

14 years agoVersion 1.1.0
Adam Dickmeiss [Wed, 20 Jan 2010 11:10:30 +0000 (12:10 +0100)]
Version 1.1.0

14 years agoUpdate news
Adam Dickmeiss [Wed, 20 Jan 2010 11:10:02 +0000 (12:10 +0100)]
Update news

14 years agoPackage now includes modules directory
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.

14 years agoUpdate headers for example
Adam Dickmeiss [Thu, 14 Jan 2010 16:09:42 +0000 (17:09 +0100)]
Update headers for example

14 years agoRemove unused class XMLError1
Adam Dickmeiss [Thu, 14 Jan 2010 15:34:18 +0000 (16:34 +0100)]
Remove unused class XMLError1

14 years agoUpdate m4
Adam Dickmeiss [Thu, 14 Jan 2010 15:14:12 +0000 (16:14 +0100)]
Update m4

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy
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

14 years agodoc-clean: removes manref.xml
Adam Dickmeiss [Thu, 14 Jan 2010 12:15:27 +0000 (13:15 +0100)]
doc-clean: removes manref.xml

14 years agoUse yaz4 DLLs
Adam Dickmeiss [Wed, 13 Jan 2010 21:18:37 +0000 (22:18 +0100)]
Use yaz4 DLLs

14 years agoInclude win headers for send/recv
Adam Dickmeiss [Wed, 13 Jan 2010 21:18:10 +0000 (22:18 +0100)]
Include win headers for send/recv

14 years agoUse Win32 Sleep
Adam Dickmeiss [Wed, 13 Jan 2010 21:17:32 +0000 (22:17 +0100)]
Use Win32 Sleep

14 years agoMinor Deb package
Adam Dickmeiss [Wed, 13 Jan 2010 15:28:43 +0000 (16:28 +0100)]
Minor Deb package

14 years agoBump libmetaproxy to .so version 2
Adam Dickmeiss [Wed, 13 Jan 2010 15:27:33 +0000 (16:27 +0100)]
Bump libmetaproxy to .so version 2

14 years agoDepend on yaz4, yazpp4
Adam Dickmeiss [Wed, 13 Jan 2010 15:18:31 +0000 (16:18 +0100)]
Depend on yaz4, yazpp4

14 years agoNew package libmetaproxy-dev
Adam Dickmeiss [Mon, 11 Jan 2010 11:07:58 +0000 (12:07 +0100)]
New package libmetaproxy-dev

14 years agoPublic MP headers in include/metaproxy
Adam Dickmeiss [Mon, 11 Jan 2010 10:20:30 +0000 (11:20 +0100)]
Public MP headers in include/metaproxy

14 years agoBump year
Adam Dickmeiss [Mon, 4 Jan 2010 11:31:28 +0000 (12:31 +0100)]
Bump year

14 years agoVersion 1.0.23. Bump copyright year. v1.0.23
Adam Dickmeiss [Mon, 4 Jan 2010 10:08:00 +0000 (11:08 +0100)]
Version 1.0.23. Bump copyright year.

14 years agoFilter virt_db: close backend for Init rejected
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.

14 years agoDisplay std::runtime_error in test
Adam Dickmeiss [Tue, 22 Dec 2009 11:53:52 +0000 (12:53 +0100)]
Display std::runtime_error in test

14 years agoSchema: change type of @database for virt_db
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.

14 years agoFilter limit: fix leak
Adam Dickmeiss [Thu, 17 Dec 2009 14:12:47 +0000 (15:12 +0100)]
Filter limit: fix leak

14 years agosru_z3950 filter: Accept any database
Adam Dickmeiss [Thu, 17 Dec 2009 14:11:53 +0000 (15:11 +0100)]
sru_z3950 filter: Accept any database

14 years agoLOC config: idtest also uses marc8-records section
Adam Dickmeiss [Thu, 17 Dec 2009 14:11:12 +0000 (15:11 +0100)]
LOC config: idtest also uses marc8-records section

14 years agohttp_file: fix fread call (make fetch work again)
Adam Dickmeiss [Wed, 16 Dec 2009 14:17:15 +0000 (15:17 +0100)]
http_file: fix fread call (make fetch work again)

14 years agoAssign more threads for LOC MP
Adam Dickmeiss [Wed, 16 Dec 2009 13:51:22 +0000 (14:51 +0100)]
Assign more threads for LOC MP

14 years agoAnnotate examples a bit
Adam Dickmeiss [Wed, 16 Dec 2009 13:27:40 +0000 (14:27 +0100)]
Annotate examples a bit

14 years agoSimpler load-balance example config
Adam Dickmeiss [Wed, 16 Dec 2009 13:27:30 +0000 (14:27 +0100)]
Simpler load-balance example config

14 years agoNo need for @id on book
Adam Dickmeiss [Wed, 16 Dec 2009 13:26:58 +0000 (14:26 +0100)]
No need for @id on book

14 years agoVersion 1.0.22 v1.0.22
Adam Dickmeiss [Thu, 3 Dec 2009 11:11:50 +0000 (12:11 +0100)]
Version 1.0.22

14 years agoVersion 1.0.21
Adam Dickmeiss [Thu, 3 Dec 2009 10:28:07 +0000 (11:28 +0100)]
Version 1.0.21

14 years agoUpdate to use Odr_int
Adam Dickmeiss [Tue, 1 Dec 2009 21:03:58 +0000 (22:03 +0100)]
Update to use Odr_int

14 years agoDescribe semantics for database for virtual target
Adam Dickmeiss [Tue, 24 Nov 2009 13:31:20 +0000 (14:31 +0100)]
Describe semantics for database for virtual target

15 years agomodernize Doxygen file
Adam Dickmeiss [Thu, 19 Nov 2009 17:09:35 +0000 (18:09 +0100)]
modernize Doxygen file

15 years agoAdd include of string.h v1.0.20
Adam Dickmeiss [Thu, 19 Nov 2009 13:54:20 +0000 (14:54 +0100)]
Add include of string.h

15 years agoversion 1.0.20
Adam Dickmeiss [Thu, 19 Nov 2009 13:24:19 +0000 (14:24 +0100)]
version 1.0.20

15 years agoGlob-pattern for virt_db match (bug #3106)
Adam Dickmeiss [Thu, 19 Nov 2009 12:24:45 +0000 (13:24 +0100)]
Glob-pattern for virt_db match (bug #3106)

15 years agoadd_map_db2target uses add_map_db2targets
Adam Dickmeiss [Thu, 19 Nov 2009 11:23:37 +0000 (12:23 +0100)]
add_map_db2target uses add_map_db2targets

15 years agoUsing cout instead of printf
Adam Dickmeiss [Thu, 19 Nov 2009 11:22:14 +0000 (12:22 +0100)]
Using cout instead of printf

15 years agoFix install doc rule for Automake 1.11
Adam Dickmeiss [Wed, 16 Sep 2009 11:59:06 +0000 (13:59 +0200)]
Fix install doc rule for Automake 1.11

15 years agoUpdate YAZ Proxy comparison table
Adam Dickmeiss [Mon, 13 Jul 2009 13:06:23 +0000 (15:06 +0200)]
Update YAZ Proxy comparison table

15 years agoMore complete attribute checking
Adam Dickmeiss [Mon, 13 Jul 2009 07:44:34 +0000 (09:44 +0200)]
More complete attribute checking

15 years agoUpdate to new ID URLs
Adam Dickmeiss [Fri, 10 Jul 2009 16:02:22 +0000 (18:02 +0200)]
Update to new ID URLs

15 years agoDepend on yazpp 1.1.4 v1.0.19
Adam Dickmeiss [Wed, 8 Jul 2009 13:51:58 +0000 (15:51 +0200)]
Depend on yazpp 1.1.4

15 years agoVersion 1.0.19
Adam Dickmeiss [Wed, 8 Jul 2009 13:49:20 +0000 (15:49 +0200)]
Version 1.0.19

15 years agoBeef up documentation for multi, virt_db
Adam Dickmeiss [Wed, 8 Jul 2009 13:14:15 +0000 (15:14 +0200)]
Beef up documentation for multi, virt_db

15 years agoBetter example for load_balance
Adam Dickmeiss [Wed, 8 Jul 2009 13:13:51 +0000 (15:13 +0200)]
Better example for load_balance

15 years agoModify schema for sru_z3950 (database? -> database*)
Adam Dickmeiss [Wed, 8 Jul 2009 12:29:23 +0000 (14:29 +0200)]
Modify schema for sru_z3950 (database? -> database*)

For sru_z3950, database elements in sru_z3950 is zero or more rather
than one or more. Sort filters in schema.

15 years agoRemove floating cdata (should be in comment)
Adam Dickmeiss [Wed, 8 Jul 2009 12:28:57 +0000 (14:28 +0200)]
Remove floating cdata (should be in comment)

15 years agoFixes. Record handling in separate routes
Adam Dickmeiss [Wed, 8 Jul 2009 09:52:49 +0000 (11:52 +0200)]
Fixes. Record handling in separate routes

Fixed some target names. The routing facility of the multi filter is
now used to separate record handling (marc-8 or utf-8).
Side issue: xmllint --format config-loc.xml does not produce nice
indenting for parts of the file .. Seems to be a bug in xmllint/Libxml2.

15 years agoRouting target pattern may be glob pattern based
Adam Dickmeiss [Wed, 8 Jul 2009 09:41:46 +0000 (11:41 +0200)]
Routing target pattern may be glob pattern based

The multi filters target may be be specified as a glob based pattern,
for example <target route="utf8-route">*UTF8</target>.

15 years agoSort filters
Adam Dickmeiss [Wed, 8 Jul 2009 09:39:44 +0000 (11:39 +0200)]
Sort filters

15 years agoSort filters
Adam Dickmeiss [Wed, 8 Jul 2009 09:39:30 +0000 (11:39 +0200)]
Sort filters

15 years agoSort filters
Adam Dickmeiss [Wed, 8 Jul 2009 09:39:16 +0000 (11:39 +0200)]
Sort filters

15 years agoUse query_rewrite filter to throw error for @attr 1=12
Adam Dickmeiss [Fri, 3 Jul 2009 14:23:35 +0000 (16:23 +0200)]
Use query_rewrite filter to throw error for @attr 1=12