metaproxy-moved-to-github.git
12 years agoDont overwrite package.request
Adam Dickmeiss [Fri, 29 Jun 2012 12:49:48 +0000 (14:49 +0200)]
Dont overwrite package.request

12 years agoVersion 1.3.37 v1.3.37
Adam Dickmeiss [Fri, 1 Jun 2012 09:28:49 +0000 (11:28 +0200)]
Version 1.3.37

12 years agoUpdate NEWS
Adam Dickmeiss [Fri, 1 Jun 2012 09:25:13 +0000 (11:25 +0200)]
Update NEWS

12 years agoDocument frontend_net's: message, stat-req
Adam Dickmeiss [Fri, 1 Jun 2012 09:21:18 +0000 (11:21 +0200)]
Document frontend_net's: message, stat-req

12 years agofrontend_net: report threads in use; fix XML header
Adam Dickmeiss [Fri, 1 Jun 2012 09:14:11 +0000 (11:14 +0200)]
frontend_net: report threads in use; fix XML header

12 years agoAdd ThreadPoolSocketObserver::get_thread_info
Adam Dickmeiss [Fri, 1 Jun 2012 09:13:39 +0000 (11:13 +0200)]
Add ThreadPoolSocketObserver::get_thread_info

12 years agoUpdate doc/common
Adam Dickmeiss [Wed, 30 May 2012 12:39:07 +0000 (14:39 +0200)]
Update doc/common

12 years agoUpdate referral to libyazpp dev.
Adam Dickmeiss [Tue, 29 May 2012 12:51:28 +0000 (14:51 +0200)]
Update referral to libyazpp dev.

12 years agofrontend_net: report min, max, average response times
Adam Dickmeiss [Tue, 29 May 2012 12:21:36 +0000 (14:21 +0200)]
frontend_net: report min, max, average response times

12 years agofrontend_net: report stuff to helper method
Adam Dickmeiss [Fri, 25 May 2012 12:16:31 +0000 (14:16 +0200)]
frontend_net: report stuff to helper method

12 years agofrontend_net: add facility to log response times
Adam Dickmeiss [Fri, 25 May 2012 12:07:14 +0000 (14:07 +0200)]
frontend_net: add facility to log response times

New frontend_net setting, stat-req, specifies HTTP path that triggers
the generation of the report that includes distribution of response
times and total requests.

12 years agofrontend_net: refactor and use Rep class in helpers
Adam Dickmeiss [Fri, 25 May 2012 10:59:20 +0000 (12:59 +0200)]
frontend_net: refactor and use Rep class in helpers

12 years agofrontend_net: refactor scope of helper classes
Adam Dickmeiss [Fri, 25 May 2012 10:38:34 +0000 (12:38 +0200)]
frontend_net: refactor scope of helper classes

12 years agoDebian: remove pidfile in metaproxy reload process
Adam Dickmeiss [Fri, 25 May 2012 08:38:47 +0000 (10:38 +0200)]
Debian: remove pidfile in metaproxy reload process

12 years agoDon't display start log message when config testing (-t)
Adam Dickmeiss [Thu, 24 May 2012 10:39:43 +0000 (12:39 +0200)]
Don't display start log message when config testing (-t)

12 years agoFix reload problem in init.d script for RPM
Adam Dickmeiss [Thu, 24 May 2012 06:46:36 +0000 (08:46 +0200)]
Fix reload problem in init.d script for RPM

The '/etc/init.d/metaproxy reload' in some cases would stop and
not start metaproxy - effectively stopping the service.

12 years agozoom: use WRBUF for CCL buffer
Adam Dickmeiss [Mon, 21 May 2012 13:24:47 +0000 (15:24 +0200)]
zoom: use WRBUF for CCL buffer

12 years agoVersion 1.3.36 v1.3.36
Adam Dickmeiss [Thu, 10 May 2012 12:43:58 +0000 (14:43 +0200)]
Version 1.3.36

12 years agoUpdate NEWS
Adam Dickmeiss [Thu, 10 May 2012 12:42:45 +0000 (14:42 +0200)]
Update NEWS

12 years agoReformat
Adam Dickmeiss [Thu, 10 May 2012 12:39:54 +0000 (14:39 +0200)]
Reformat

12 years agoLog XML errors to yaz_log; not to stdout/stderr
Adam Dickmeiss [Thu, 10 May 2012 12:37:51 +0000 (14:37 +0200)]
Log XML errors to yaz_log; not to stdout/stderr

12 years agoDeb init.d script implements 'reload' using SIGUSR1
Adam Dickmeiss [Thu, 10 May 2012 11:55:25 +0000 (13:55 +0200)]
Deb init.d script implements 'reload' using SIGUSR1

12 years agoRPM logrotate uses reload
Adam Dickmeiss [Thu, 10 May 2012 10:59:45 +0000 (12:59 +0200)]
RPM logrotate uses reload

12 years agoRPM init.d script implements 'reload' using SIGUSR1
Adam Dickmeiss [Thu, 10 May 2012 10:59:03 +0000 (12:59 +0200)]
RPM init.d script implements 'reload' using SIGUSR1

12 years agoVersion 1.3.35 v1.3.35
Adam Dickmeiss [Wed, 9 May 2012 13:58:09 +0000 (15:58 +0200)]
Version 1.3.35

12 years agoIDMETA: add centos5
Adam Dickmeiss [Wed, 9 May 2012 13:54:43 +0000 (15:54 +0200)]
IDMETA: add centos5

12 years agoNote on NEWS
Adam Dickmeiss [Wed, 9 May 2012 13:52:30 +0000 (15:52 +0200)]
Note on NEWS

12 years agoRequire YAZ 4.2.33 due to new yaz_daemon_stop
Adam Dickmeiss [Wed, 9 May 2012 13:32:20 +0000 (15:32 +0200)]
Require YAZ 4.2.33 due to new yaz_daemon_stop

12 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy
Adam Dickmeiss [Wed, 9 May 2012 10:58:36 +0000 (12:58 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy

Conflicts:
src/metaproxy_prog.cpp

12 years agoFixes for Windows compilation
Adam Dickmeiss [Wed, 9 May 2012 10:57:23 +0000 (12:57 +0200)]
Fixes for Windows compilation

12 years agoUse yaz_daemon_stop for graceful stop
Adam Dickmeiss [Wed, 9 May 2012 10:23:47 +0000 (12:23 +0200)]
Use yaz_daemon_stop for graceful stop

12 years agometaproxy: kill children too upon SIGUSR1 exit
Adam Dickmeiss [Thu, 3 May 2012 14:41:38 +0000 (16:41 +0200)]
metaproxy: kill children too upon SIGUSR1 exit

12 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy
Adam Dickmeiss [Tue, 1 May 2012 10:22:06 +0000 (12:22 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy

12 years agoBuild for Ubuntu precise, no build for maverick
Adam Dickmeiss [Tue, 1 May 2012 10:22:04 +0000 (12:22 +0200)]
Build for Ubuntu precise, no build for maverick

12 years agovirt_db: return other diagnostic if init is rejected
Adam Dickmeiss [Mon, 30 Apr 2012 10:14:06 +0000 (12:14 +0200)]
virt_db: return other diagnostic if init is rejected

Diagnostic 236: "Access to specified database denied" is returned,
but only if init response from backend does not carry diagnostics
aleady.

12 years agomulti: relays user info for first rejected target
Adam Dickmeiss [Mon, 30 Apr 2012 09:39:20 +0000 (11:39 +0200)]
multi: relays user info for first rejected target

The other-information field for init response for first rejected target
is in common init response. This ensures that some backend init
diagnostics are returned to the frontend.

12 years agoz3950_client: fixup addinfo for init response
Adam Dickmeiss [Mon, 30 Apr 2012 09:38:35 +0000 (11:38 +0200)]
z3950_client: fixup addinfo for init response

12 years agoChange start log message to 'metaproxy start'
Adam Dickmeiss [Thu, 26 Apr 2012 08:58:32 +0000 (10:58 +0200)]
Change start log message to 'metaproxy start'

Was 'Metaproxy start' before. Consistent with 'metaproxy stop'
message.

12 years agozoom: document zoom's proxy_timeout
Adam Dickmeiss [Thu, 26 Apr 2012 08:53:25 +0000 (10:53 +0200)]
zoom: document zoom's proxy_timeout

12 years agoVersion 1.3.34 v1.3.34
Adam Dickmeiss [Wed, 25 Apr 2012 16:53:10 +0000 (18:53 +0200)]
Version 1.3.34

12 years agoRPM/Deb metaproxy.xml enables frontend_net logging
Adam Dickmeiss [Wed, 25 Apr 2012 16:49:30 +0000 (18:49 +0200)]
RPM/Deb metaproxy.xml enables frontend_net logging

Enable frontend_net logging by default and remove the log filter.
Because the frontend_net filter already logs incoming request.

12 years agoMerge remote branch 'origin/frontend_log'
Adam Dickmeiss [Wed, 25 Apr 2012 16:46:22 +0000 (18:46 +0200)]
Merge remote branch 'origin/frontend_log'

12 years agozoom: use other diagnostic if Torus server is unavailable
Adam Dickmeiss [Wed, 25 Apr 2012 14:19:41 +0000 (16:19 +0200)]
zoom: use other diagnostic if Torus server is unavailable

12 years agozoom config example: use frontend_net for logging
Adam Dickmeiss [Wed, 25 Apr 2012 13:02:53 +0000 (15:02 +0200)]
zoom config example: use frontend_net for logging

12 years agoenables frontend_net log
Adam Dickmeiss [Wed, 25 Apr 2012 13:02:44 +0000 (15:02 +0200)]
enables frontend_net log

12 years agofrontent_net: does "access" log if message is configured
Adam Dickmeiss [Wed, 25 Apr 2012 13:02:18 +0000 (15:02 +0200)]
frontent_net: does "access" log if message is configured

The filter only logged thread usage upon completion. It also now
logs incoming request ala "access" in the log filter.

12 years agoRPM: metaproxy libs depend on yazpp 1.3.0, yaz 4.2.32
Adam Dickmeiss [Wed, 25 Apr 2012 12:00:36 +0000 (14:00 +0200)]
RPM: metaproxy libs depend on yazpp 1.3.0, yaz 4.2.32

12 years agozoom: check for valid proxy from Torus too
Adam Dickmeiss [Wed, 25 Apr 2012 11:58:17 +0000 (13:58 +0200)]
zoom: check for valid proxy from Torus too

12 years agoBuild require yazpp 1.3.0
Adam Dickmeiss [Wed, 25 Apr 2012 11:24:35 +0000 (13:24 +0200)]
Build require yazpp 1.3.0

12 years agoLog when metaproxy is stopped
Adam Dickmeiss [Wed, 25 Apr 2012 11:22:39 +0000 (13:22 +0200)]
Log when metaproxy is stopped

12 years agoAdd helper variable
Adam Dickmeiss [Wed, 25 Apr 2012 11:22:17 +0000 (13:22 +0200)]
Add helper variable

12 years agoMerge branch 'master' into graceful_stop
Adam Dickmeiss [Wed, 25 Apr 2012 09:14:36 +0000 (11:14 +0200)]
Merge branch 'master' into graceful_stop

12 years agoVesrion 1.3.33 v1.3.33
Adam Dickmeiss [Wed, 25 Apr 2012 08:34:51 +0000 (10:34 +0200)]
Vesrion 1.3.33

12 years agoUse new diagnostic for proxy failures
Adam Dickmeiss [Wed, 25 Apr 2012 08:32:54 +0000 (10:32 +0200)]
Use new diagnostic for proxy failures

12 years agoRequire YAZ 4.2.32 or later for build
Adam Dickmeiss [Wed, 25 Apr 2012 08:21:27 +0000 (10:21 +0200)]
Require YAZ 4.2.32 or later for build

12 years agoMake check_proxy, you know ... work
Adam Dickmeiss [Wed, 25 Apr 2012 07:47:59 +0000 (09:47 +0200)]
Make check_proxy, you know ... work

12 years agoMerge branch 'master' into graceful_stop
Adam Dickmeiss [Tue, 24 Apr 2012 13:21:56 +0000 (15:21 +0200)]
Merge branch 'master' into graceful_stop

12 years agoVersion 1.3.32 v1.3.32
Adam Dickmeiss [Tue, 24 Apr 2012 13:05:50 +0000 (15:05 +0200)]
Version 1.3.32

12 years agosru_z3950: pass through incoming Z39.50 requests
Adam Dickmeiss [Tue, 24 Apr 2012 12:58:08 +0000 (14:58 +0200)]
sru_z3950: pass through incoming Z39.50 requests

sru_z3950 filter passes through incoming Z39.50 requests again. Was
not handled by mistake in Metaproxy versions 1.3.29, 1.3.30 and 1.3.31.

12 years agoMerge branch 'master' into graceful_stop
Adam Dickmeiss [Tue, 24 Apr 2012 12:30:19 +0000 (14:30 +0200)]
Merge branch 'master' into graceful_stop

12 years agoDo not build for Debian lenny anymore
Adam Dickmeiss [Tue, 24 Apr 2012 12:30:08 +0000 (14:30 +0200)]
Do not build for Debian lenny anymore

12 years agoMerge branch 'master' into graceful_stop
Adam Dickmeiss [Tue, 24 Apr 2012 12:14:52 +0000 (14:14 +0200)]
Merge branch 'master' into graceful_stop

12 years agoVersion 1.3.31 v1.3.31
Adam Dickmeiss [Tue, 24 Apr 2012 10:31:24 +0000 (12:31 +0200)]
Version 1.3.31

12 years agozoom: refactor retry logic to separate function
Adam Dickmeiss [Tue, 24 Apr 2012 10:26:46 +0000 (12:26 +0200)]
zoom: refactor retry logic to separate function

12 years agozoom: properly handle proxy failover for re-used backends
Adam Dickmeiss [Tue, 24 Apr 2012 10:08:36 +0000 (12:08 +0200)]
zoom: properly handle proxy failover for re-used backends

Also log the diagnostic that is received from the backend in
case of retry/failover because they will be not be returned
via Z39.50/SRU.

12 years agoVersion 1.3.30 v1.3.30
Adam Dickmeiss [Mon, 23 Apr 2012 18:07:15 +0000 (20:07 +0200)]
Version 1.3.30

12 years agoUpdate NEWS
Adam Dickmeiss [Mon, 23 Apr 2012 18:02:48 +0000 (20:02 +0200)]
Update NEWS

12 years agozoom: proxy error returns diagnostic Bib-1:1014 / SRU:3
Adam Dickmeiss [Sat, 21 Apr 2012 08:35:14 +0000 (10:35 +0200)]
zoom: proxy error returns diagnostic Bib-1:1014 / SRU:3

12 years agozoom: return addinfo="proxy failure" for proxy failures
Adam Dickmeiss [Sat, 21 Apr 2012 08:24:44 +0000 (10:24 +0200)]
zoom: return addinfo="proxy failure" for proxy failures

This commit also changes the scheme for dealing with proxies a bit.
zoom now always do "proxy-check", even if there's no failover.
Fortunately, that's not very expensive.

12 years agoMerge branch 'master' into graceful_stop
Adam Dickmeiss [Fri, 20 Apr 2012 13:31:29 +0000 (15:31 +0200)]
Merge branch 'master' into graceful_stop

12 years agozoom: implement cunning scheme for retry/proxy failover
Adam Dickmeiss [Fri, 20 Apr 2012 13:00:07 +0000 (15:00 +0200)]
zoom: implement cunning scheme for retry/proxy failover

12 years agosession_shared: disable session retry by default
Adam Dickmeiss [Fri, 20 Apr 2012 12:58:29 +0000 (14:58 +0200)]
session_shared: disable session retry by default

Can be enabled by restart="true" in resultset section.

12 years agozoom: guess if invalid response was an auth failure
Adam Dickmeiss [Fri, 20 Apr 2012 09:16:47 +0000 (11:16 +0200)]
zoom: guess if invalid response was an auth failure

12 years agozoom: Init rejected wo diagnostics maps to Bib-1:1014
Adam Dickmeiss [Fri, 20 Apr 2012 08:54:41 +0000 (10:54 +0200)]
zoom: Init rejected wo diagnostics maps to Bib-1:1014

Bib-1 1014, "Init/AC: Authentication System error", seems pretty
generic. We don't know why the init would fail; IP, user, block IP, etc.
sru_z3950 filter maps this to SRU diagnostic 3: "Authentication error".

12 years agoMerge branch 'master' into graceful_stop
Adam Dickmeiss [Wed, 18 Apr 2012 11:57:31 +0000 (13:57 +0200)]
Merge branch 'master' into graceful_stop

12 years agoVersion 1.3.29 v1.3.29
Adam Dickmeiss [Wed, 18 Apr 2012 11:25:27 +0000 (13:25 +0200)]
Version 1.3.29

12 years agozoom: update zoom info on contentProxy
Adam Dickmeiss [Wed, 18 Apr 2012 11:24:31 +0000 (13:24 +0200)]
zoom: update zoom info on contentProxy

12 years agoUpdate NEWS
Adam Dickmeiss [Wed, 18 Apr 2012 11:18:15 +0000 (13:18 +0200)]
Update NEWS

12 years agozoom: may read cf-proxy's config settings
Adam Dickmeiss [Wed, 18 Apr 2012 10:20:20 +0000 (12:20 +0200)]
zoom: may read cf-proxy's config settings

This reduces manual configuration of the content proxy server host.
The %s notation for server is no longer supported. The ZOOM module will
use the old style session.proxyhost if "server" is given (deprecated)
and use the new style proxyhost/session if "config_file" is in use.

12 years agoMinor updates to config zoom example
Adam Dickmeiss [Wed, 18 Apr 2012 08:16:55 +0000 (10:16 +0200)]
Minor updates to config zoom example

12 years agozoom: more configurable format for contentProxy@server
Adam Dickmeiss [Wed, 18 Apr 2012 08:13:37 +0000 (10:13 +0200)]
zoom: more configurable format for contentProxy@server

The proxy attribute of contentProxy element may include a %s magic,
which will be substituted by the session ID. For example
server="proxy.indexdata.com/%s"

12 years agoSignal SIGUSR1 akes a graceful stop
Adam Dickmeiss [Tue, 17 Apr 2012 14:20:03 +0000 (16:20 +0200)]
Signal SIGUSR1 akes a graceful stop

Thus, all Z39.50/HTTP connections to the server are kept alive, but
the listening socket is closed. Signal SIGTERM destroys the server
immediately as before.

12 years agoFrontend_net exits when all sessions have terminated
Adam Dickmeiss [Tue, 17 Apr 2012 12:46:38 +0000 (14:46 +0200)]
Frontend_net exits when all sessions have terminated

12 years agoMerge branch 'master' into graceful_stop
Adam Dickmeiss [Tue, 17 Apr 2012 10:49:12 +0000 (12:49 +0200)]
Merge branch 'master' into graceful_stop

12 years agozoom: simplify cproxyhost XSLT parm passing
Adam Dickmeiss [Tue, 17 Apr 2012 09:28:25 +0000 (11:28 +0200)]
zoom: simplify cproxyhost XSLT parm passing

12 years agoRemove incoming requests that can not be handled
Adam Dickmeiss [Tue, 17 Apr 2012 08:33:12 +0000 (10:33 +0200)]
Remove incoming requests that can not be handled

Requests in queue for filter frontend_net are removed if client
closes connection for the session and request is not yet handled.

12 years agosru_z3950: serialize requests
Adam Dickmeiss [Mon, 16 Apr 2012 12:56:48 +0000 (14:56 +0200)]
sru_z3950: serialize requests

This is to ensure that pipelined HTTP requests are handled
properly.

12 years agosru_z3950: reformat; remove useless comments
Adam Dickmeiss [Fri, 13 Apr 2012 12:14:15 +0000 (14:14 +0200)]
sru_z3950: reformat; remove useless comments

12 years agoBeginnings of graceful stop
Adam Dickmeiss [Tue, 10 Apr 2012 11:43:29 +0000 (13:43 +0200)]
Beginnings of graceful stop

12 years agoFix metaproxy.prerm: missing /bin/sh header
Adam Dickmeiss [Wed, 4 Apr 2012 15:46:23 +0000 (17:46 +0200)]
Fix metaproxy.prerm: missing /bin/sh header

12 years agoVersion 1.3.28 v1.3.28
Adam Dickmeiss [Wed, 4 Apr 2012 11:40:27 +0000 (13:40 +0200)]
Version 1.3.28

12 years agozoom: remove 'xslt successful' message
Adam Dickmeiss [Wed, 4 Apr 2012 08:34:24 +0000 (10:34 +0200)]
zoom: remove 'xslt successful' message

12 years agoNew WRBUF wrapper mp::wrbuf
Adam Dickmeiss [Wed, 4 Apr 2012 08:33:53 +0000 (10:33 +0200)]
New WRBUF wrapper mp::wrbuf

12 years agoVersion 1.3.27 v1.3.27
Adam Dickmeiss [Fri, 30 Mar 2012 11:18:57 +0000 (13:18 +0200)]
Version 1.3.27

12 years agoMetaproxy conflicts with CF 2.12.5 and earlier
Adam Dickmeiss [Fri, 30 Mar 2012 11:14:00 +0000 (13:14 +0200)]
Metaproxy conflicts with CF 2.12.5 and earlier

This is because Metaproxy is running as a different user now -
and old lock files etc, previously created as "nobody" would cause
permission problems for CF.

12 years agoUser info in /etc/metaproxy/metaproxy.user
Adam Dickmeiss [Thu, 29 Mar 2012 08:14:49 +0000 (10:14 +0200)]
User info in /etc/metaproxy/metaproxy.user

12 years agoDebian compat 5
Adam Dickmeiss [Thu, 29 Mar 2012 08:14:30 +0000 (10:14 +0200)]
Debian compat 5

12 years agoRPM: metaproxy running as user "metaproxy"
Adam Dickmeiss [Wed, 28 Mar 2012 13:12:32 +0000 (13:12 +0000)]
RPM: metaproxy running as user "metaproxy"

12 years agoDebian: metaproxy running as user "metaproxy"
Adam Dickmeiss [Wed, 28 Mar 2012 11:08:34 +0000 (13:08 +0200)]
Debian: metaproxy running as user "metaproxy"

New scripts to create and remove this user during installation
and removal.

12 years agoVersion 1.3.26 v1.3.26
Adam Dickmeiss [Tue, 20 Mar 2012 09:58:57 +0000 (10:58 +0100)]
Version 1.3.26