metaproxy-moved-to-github.git
11 years agoAvoid some re-alloc
Jakub Skoczen [Tue, 7 May 2013 15:24:17 +0000 (17:24 +0200)]
Avoid some re-alloc

11 years agoFix multiple match aggregation
Jakub Skoczen [Tue, 7 May 2013 14:45:38 +0000 (16:45 +0200)]
Fix multiple match aggregation

11 years agoFix response rewriting
Jakub Skoczen [Tue, 7 May 2013 13:44:57 +0000 (15:44 +0200)]
Fix response rewriting

11 years agoUsing log level
Jakub Skoczen [Tue, 7 May 2013 12:43:09 +0000 (14:43 +0200)]
Using log level

11 years agoPrepend with proto
Jakub Skoczen [Tue, 7 May 2013 12:41:44 +0000 (14:41 +0200)]
Prepend with proto

11 years agoUse yaz_log
Jakub Skoczen [Tue, 7 May 2013 12:32:34 +0000 (14:32 +0200)]
Use yaz_log

11 years agoLog when the filter is invoked
Jakub Skoczen [Tue, 7 May 2013 12:11:05 +0000 (14:11 +0200)]
Log when the filter is invoked

11 years agoInclude filter in the static factory
Jakub Skoczen [Tue, 7 May 2013 11:49:50 +0000 (13:49 +0200)]
Include filter in the static factory

11 years agoFix warnings
Jakub Skoczen [Tue, 7 May 2013 11:42:54 +0000 (13:42 +0200)]
Fix warnings

11 years agoMerge remote-tracking branch 'origin/master' into rewrite-filter
Jakub Skoczen [Tue, 7 May 2013 11:27:00 +0000 (13:27 +0200)]
Merge remote-tracking branch 'origin/master' into rewrite-filter

11 years agoAdd XML config test
Jakub Skoczen [Mon, 6 May 2013 14:35:01 +0000 (16:35 +0200)]
Add XML config test

11 years agoConfigure from XML
Jakub Skoczen [Mon, 6 May 2013 13:48:48 +0000 (15:48 +0200)]
Configure from XML

11 years agoFactor out impl from test
Jakub Skoczen [Mon, 6 May 2013 13:27:42 +0000 (15:27 +0200)]
Factor out impl from test

11 years agoRewrite body too
Jakub Skoczen [Mon, 6 May 2013 10:45:46 +0000 (12:45 +0200)]
Rewrite body too

11 years agoRefactor
Jakub Skoczen [Mon, 6 May 2013 09:41:52 +0000 (11:41 +0200)]
Refactor

11 years agoReconstruct headers before matching
Jakub Skoczen [Fri, 3 May 2013 13:01:55 +0000 (15:01 +0200)]
Reconstruct headers before matching

11 years agoAdd response rewrite rule
Jakub Skoczen [Fri, 3 May 2013 12:04:08 +0000 (14:04 +0200)]
Add response rewrite rule

11 years agoSSL server example
Adam Dickmeiss [Fri, 3 May 2013 10:51:35 +0000 (12:51 +0200)]
SSL server example

11 years agofrontend_net: SSL/HTTPS server MP-441
Adam Dickmeiss [Fri, 3 May 2013 10:43:45 +0000 (12:43 +0200)]
frontend_net: SSL/HTTPS server MP-441

because we can specify a certificate now.

11 years agoRequire yazpp 1.4.1
Adam Dickmeiss [Fri, 3 May 2013 10:43:12 +0000 (12:43 +0200)]
Require yazpp 1.4.1

11 years agoHandle muliple req/resp patterns
Jakub Skoczen [Fri, 3 May 2013 10:40:30 +0000 (12:40 +0200)]
Handle muliple req/resp patterns

Tried in order, first martched first used.

11 years agohttp_client: simplify check whether URL is abs_path
Adam Dickmeiss [Fri, 3 May 2013 10:40:26 +0000 (12:40 +0200)]
http_client: simplify check whether URL is abs_path

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy
Adam Dickmeiss [Fri, 3 May 2013 07:24:52 +0000 (09:24 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy

11 years agoUpdate m4
Adam Dickmeiss [Thu, 2 May 2013 18:19:32 +0000 (18:19 +0000)]
Update m4

11 years agoOnly remember match if not empty
Jakub Skoczen [Thu, 2 May 2013 16:30:30 +0000 (18:30 +0200)]
Only remember match if not empty

11 years agoUse C++ strings and handle non-capturing groups
Jakub Skoczen [Thu, 2 May 2013 14:24:34 +0000 (16:24 +0200)]
Use C++ strings and handle non-capturing groups

11 years agoResp/Req rewriting works
Jakub Skoczen [Thu, 2 May 2013 12:14:15 +0000 (14:14 +0200)]
Resp/Req rewriting works

The matching approach is a bit different now -- the region is searched
for next match and the replacement is performed in line.

11 years agohttp_client: new setting default-host
Adam Dickmeiss [Thu, 2 May 2013 11:57:26 +0000 (13:57 +0200)]
http_client: new setting default-host

Which serves as default host URI prefix. HTTP requests received
without a host in the HTTP method line will use default-host.

11 years agoDrop boost::xpressive
Jakub Skoczen [Thu, 2 May 2013 09:50:39 +0000 (11:50 +0200)]
Drop boost::xpressive

and revert back to boost::regex which seems to parse
Perl-like capture groups just fine (unlike xpressive
which wnats Python style, sic)

11 years agoFunctional request header rewriting
Jakub Skoczen [Wed, 1 May 2013 15:15:34 +0000 (17:15 +0200)]
Functional request header rewriting

The regex gets scanned for named captures which are than indexed
and used in the request URL recipe (configurable).

11 years agoExample: Using metaproxy as general HTTP proxy
Dennis Schafroth [Wed, 1 May 2013 13:31:53 +0000 (15:31 +0200)]
Example: Using metaproxy as general HTTP proxy

11 years agoIgnore everything (with excetptions)
Jakub Skoczen [Wed, 1 May 2013 07:39:32 +0000 (09:39 +0200)]
Ignore everything (with excetptions)

11 years agoHumble beginings
Jakub Skoczen [Tue, 30 Apr 2013 15:11:07 +0000 (17:11 +0200)]
Humble beginings

11 years agoFix: support new configure API
Dennis Schafroth [Mon, 29 Apr 2013 16:50:48 +0000 (18:50 +0200)]
Fix: support new configure API

11 years agoUpdate m4 due to different msg WRT Boost system
Adam Dickmeiss [Mon, 29 Apr 2013 14:10:54 +0000 (16:10 +0200)]
Update m4 due to different msg WRT Boost system

11 years agoMetion libboost-system-dev
Adam Dickmeiss [Mon, 29 Apr 2013 13:56:45 +0000 (15:56 +0200)]
Metion libboost-system-dev

11 years agoDepend on Boost.System for Boost >= 1.41.0
Adam Dickmeiss [Mon, 29 Apr 2013 13:40:32 +0000 (15:40 +0200)]
Depend on Boost.System for Boost >= 1.41.0

11 years agoNew filter http_rewrite1
Adam Dickmeiss [Wed, 24 Apr 2013 12:07:26 +0000 (14:07 +0200)]
New filter http_rewrite1

Which serves as purpose on how to rewrite HTTP content with
Metaproxy.

11 years agohttp_file rnc: area is 0 or more
Adam Dickmeiss [Wed, 24 Apr 2013 12:07:23 +0000 (14:07 +0200)]
http_file rnc: area is 0 or more

11 years agoDebug package libmetaproxy4-dbg MP-435
Adam Dickmeiss [Mon, 22 Apr 2013 15:12:27 +0000 (17:12 +0200)]
Debug package libmetaproxy4-dbg MP-435

11 years agohttp_client documentation
Adam Dickmeiss [Thu, 18 Apr 2013 09:37:27 +0000 (11:37 +0200)]
http_client documentation

11 years agoImplemented http_client MP-432
Adam Dickmeiss [Thu, 18 Apr 2013 09:31:44 +0000 (11:31 +0200)]
Implemented http_client MP-432

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy
Adam Dickmeiss [Wed, 17 Apr 2013 11:44:53 +0000 (13:44 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy

11 years agoFix spelling in sysconfig/metaproxy
Adam Dickmeiss [Wed, 17 Apr 2013 11:44:49 +0000 (13:44 +0200)]
Fix spelling in sysconfig/metaproxy

11 years agoVersion 1.3.55 v1.3.55
Adam Dickmeiss [Wed, 10 Apr 2013 07:48:46 +0000 (09:48 +0200)]
Version 1.3.55

11 years agoUpdate ZOOM documentation for authenticationMode
Adam Dickmeiss [Fri, 5 Apr 2013 09:35:02 +0000 (11:35 +0200)]
Update ZOOM documentation for authenticationMode

11 years agoExample config using authenticationMode
Adam Dickmeiss [Fri, 5 Apr 2013 09:34:41 +0000 (11:34 +0200)]
Example config using authenticationMode

11 years agozoom: Torus setting: authenticationMode
Adam Dickmeiss [Fri, 5 Apr 2013 09:33:59 +0000 (11:33 +0200)]
zoom: Torus setting: authenticationMode

which may hold values "basic" and "url".

11 years agoTorus setting authentiation signals auth type
Adam Dickmeiss [Thu, 4 Apr 2013 12:54:04 +0000 (14:54 +0200)]
Torus setting authentiation signals auth type

user/password/url uses x-username, x-password for SRU.
user/password/basic or user/password uses HTTP Auth for SRU.

11 years agoIgnore local0.ent
Adam Dickmeiss [Wed, 27 Mar 2013 12:56:59 +0000 (13:56 +0100)]
Ignore local0.ent

11 years agoVersion 1.3.54 v1.3.54
Adam Dickmeiss [Wed, 27 Mar 2013 12:37:50 +0000 (13:37 +0100)]
Version 1.3.54

11 years agoDocumentation rebuilt if local.ent changes
Adam Dickmeiss [Wed, 27 Mar 2013 12:05:05 +0000 (13:05 +0100)]
Documentation rebuilt if local.ent changes

11 years agoSpell Solr as Solr
Adam Dickmeiss [Wed, 27 Mar 2013 10:33:12 +0000 (11:33 +0100)]
Spell Solr as Solr

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy
Adam Dickmeiss [Wed, 27 Mar 2013 10:28:38 +0000 (11:28 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy

11 years agoChange case of Solr in msg
Adam Dickmeiss [Wed, 27 Mar 2013 10:26:14 +0000 (11:26 +0100)]
Change case of Solr in msg

11 years agoCheck for Libxslt support in YAZ
Adam Dickmeiss [Mon, 25 Mar 2013 08:31:34 +0000 (09:31 +0100)]
Check for Libxslt support in YAZ

and rely on definitions from yaz-config, rather than doing own
xslt/xml2 checks.

11 years agoRPM: simplify make install rule
Adam Dickmeiss [Tue, 19 Mar 2013 11:20:21 +0000 (12:20 +0100)]
RPM: simplify make install rule

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy
Adam Dickmeiss [Wed, 13 Mar 2013 13:27:49 +0000 (14:27 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy
Adam Dickmeiss [Tue, 12 Mar 2013 18:05:40 +0000 (19:05 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy

11 years agoAllow yaz_log time-stamp format to be set MP-430
Adam Dickmeiss [Tue, 12 Mar 2013 18:04:30 +0000 (19:04 +0100)]
Allow yaz_log time-stamp format to be set MP-430

This done at a global level via option -m for megaproxy server.

11 years agoDoc: fix id of metaproxy-config ref
Adam Dickmeiss [Tue, 12 Mar 2013 17:59:10 +0000 (18:59 +0100)]
Doc: fix id of metaproxy-config ref

11 years agoDoc update for USEMARCON support
Adam Dickmeiss [Thu, 28 Feb 2013 15:11:00 +0000 (16:11 +0100)]
Doc update for USEMARCON support

11 years agoTrim retrievalinfo header
Adam Dickmeiss [Thu, 28 Feb 2013 15:01:25 +0000 (16:01 +0100)]
Trim retrievalinfo header

11 years agoMark Usemarcon as supported
Adam Dickmeiss [Thu, 28 Feb 2013 14:42:53 +0000 (15:42 +0100)]
Mark Usemarcon as supported

11 years agoExample using log category 'line'
Adam Dickmeiss [Fri, 22 Feb 2013 14:06:44 +0000 (15:06 +0100)]
Example using log category 'line'

11 years agoDocument log category 'line'
Adam Dickmeiss [Fri, 22 Feb 2013 14:06:39 +0000 (15:06 +0100)]
Document log category 'line'

11 years agomulti: make a few log msgs to DEBUG
Adam Dickmeiss [Fri, 22 Feb 2013 14:06:11 +0000 (15:06 +0100)]
multi: make a few log msgs to DEBUG

11 years agomulti: do not alter scan package either
Adam Dickmeiss [Fri, 22 Feb 2013 11:43:02 +0000 (12:43 +0100)]
multi: do not alter scan package either

11 years agomulti: do not mess with request package
Adam Dickmeiss [Fri, 22 Feb 2013 10:41:30 +0000 (11:41 +0100)]
multi: do not mess with request package

For search, database-names were modified and the request package
was left with dangling pointers that caused a log filter to
fail (request package inspected after multi was invoked).

11 years agoSolr example
Adam Dickmeiss [Mon, 4 Feb 2013 12:57:16 +0000 (13:57 +0100)]
Solr example

11 years agoVersion 1.3.53 v1.3.53
Adam Dickmeiss [Thu, 31 Jan 2013 12:38:08 +0000 (13:38 +0100)]
Version 1.3.53

11 years agoRequire YAZ 4.2.50 or later
Adam Dickmeiss [Thu, 31 Jan 2013 11:43:23 +0000 (12:43 +0100)]
Require YAZ 4.2.50 or later

11 years agoOPACXML to OPAC conversion example
Adam Dickmeiss [Thu, 31 Jan 2013 10:33:24 +0000 (11:33 +0100)]
OPACXML to OPAC conversion example

11 years agorecord_transform: allow OPACXML to OPAC conversion
Adam Dickmeiss [Thu, 31 Jan 2013 10:32:36 +0000 (11:32 +0100)]
record_transform: allow OPACXML to OPAC conversion

11 years agoBump year
Adam Dickmeiss [Sun, 6 Jan 2013 15:36:30 +0000 (16:36 +0100)]
Bump year

11 years agozoom: document content-proxy
Adam Dickmeiss [Fri, 28 Dec 2012 12:29:43 +0000 (13:29 +0100)]
zoom: document content-proxy

11 years agozoom: document db parm content-{user,password}, torus_url
Adam Dickmeiss [Fri, 28 Dec 2012 12:24:56 +0000 (13:24 +0100)]
zoom: document db parm content-{user,password}, torus_url

Also <torus auth_url="..> which makes zoom operate in authenticated
mode via Torus lookup.

11 years agoAdd Ubuntu quantal
Adam Dickmeiss [Tue, 4 Dec 2012 11:57:33 +0000 (12:57 +0100)]
Add Ubuntu quantal

11 years agoVersion 1.3.52 v1.3.52
Adam Dickmeiss [Fri, 30 Nov 2012 17:52:49 +0000 (18:52 +0100)]
Version 1.3.52

11 years agozoom: fix http:// check
Adam Dickmeiss [Fri, 30 Nov 2012 17:50:03 +0000 (17:50 +0000)]
zoom: fix http:// check

11 years agoVersion 1.3.51 v1.3.51
Adam Dickmeiss [Thu, 15 Nov 2012 12:12:23 +0000 (13:12 +0100)]
Version 1.3.51

11 years agoRemove yaz_log msg
Adam Dickmeiss [Wed, 14 Nov 2012 11:36:30 +0000 (12:36 +0100)]
Remove yaz_log msg

11 years agozoom: only append http:// for SRU if not already given
Adam Dickmeiss [Wed, 14 Nov 2012 11:35:20 +0000 (12:35 +0100)]
zoom: only append  for SRU if not already given

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy
Adam Dickmeiss [Mon, 12 Nov 2012 15:01:59 +0000 (16:01 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy

11 years agofrontend_net: allow max size to be given
Adam Dickmeiss [Mon, 12 Nov 2012 15:00:58 +0000 (16:00 +0100)]
frontend_net: allow max size to be given

Controlled by attribute 'max_recv_bytes' of element 'port'.

11 years agoDepend on libyazpp5
Adam Dickmeiss [Mon, 12 Nov 2012 14:59:03 +0000 (15:59 +0100)]
Depend on libyazpp5

Because it provides a new ABI

11 years agoUse yazpp5 DLL
Adam Dickmeiss [Mon, 12 Nov 2012 13:47:40 +0000 (14:47 +0100)]
Use yazpp5 DLL

11 years agoVersion 1.3.50 v1.3.50
Adam Dickmeiss [Mon, 29 Oct 2012 13:27:04 +0000 (14:27 +0100)]
Version 1.3.50

11 years agoNo CVS ID in local.ent
Adam Dickmeiss [Mon, 29 Oct 2012 13:30:47 +0000 (14:30 +0100)]
No CVS ID in local.ent

11 years agoAvoid boost::is_any_off to avoid warning
Adam Dickmeiss [Mon, 29 Oct 2012 13:19:50 +0000 (14:19 +0100)]
Avoid boost::is_any_off to avoid warning

Actually a big fat warning only issued with Visual Studio.

11 years agoSpecify Boost libpath for Windows
Adam Dickmeiss [Mon, 29 Oct 2012 12:28:24 +0000 (13:28 +0100)]
Specify Boost libpath for Windows

This is because some boost libs depend on other boost libraries
that we don't specify in linker invocation.

11 years agoScope classes, tweak for TIME_UTC
Adam Dickmeiss [Mon, 29 Oct 2012 12:02:20 +0000 (13:02 +0100)]
Scope classes, tweak for TIME_UTC

Scope classes due to VC 9 being different from GCC.
Use TIME_UTC_ on Boost 1.50 and later.

11 years agoOnly use kill on POSIX systems
Adam Dickmeiss [Mon, 29 Oct 2012 12:01:17 +0000 (13:01 +0100)]
Only use kill on POSIX systems

11 years agowin makefile: use Boost 1.51
Adam Dickmeiss [Mon, 29 Oct 2012 10:38:02 +0000 (11:38 +0100)]
win makefile: use Boost 1.51

11 years agosession_shared: specify module for addinfo in diagnostics
Adam Dickmeiss [Mon, 29 Oct 2012 11:06:42 +0000 (12:06 +0100)]
session_shared: specify module for addinfo in diagnostics

11 years agocql_rpn: specify module for addinfo in diagnostics
Adam Dickmeiss [Mon, 29 Oct 2012 11:05:51 +0000 (12:05 +0100)]
cql_rpn: specify module for addinfo in diagnostics

11 years agoz3950_client: specify module for addinfo in diagnostics
Adam Dickmeiss [Mon, 29 Oct 2012 11:04:31 +0000 (12:04 +0100)]
z3950_client: specify module for addinfo in diagnostics

11 years agozoom: specify module for addinfo in diagnostics
Adam Dickmeiss [Mon, 29 Oct 2012 11:03:21 +0000 (12:03 +0100)]
zoom: specify module for addinfo in diagnostics

11 years agozoom: tweak logging for Torus fetch
Adam Dickmeiss [Mon, 29 Oct 2012 11:01:49 +0000 (12:01 +0100)]
zoom: tweak logging for Torus fetch

11 years agoAdd CentOS 6
Adam Dickmeiss [Fri, 26 Oct 2012 12:45:29 +0000 (14:45 +0200)]
Add CentOS 6