Jakub Skoczen [Mon, 10 Jun 2013 15:28:10 +0000 (17:28 +0200)]
Refactor HTTP rewrite filter and tests
Heikki Levanto [Wed, 29 May 2013 11:12:49 +0000 (13:12 +0200)]
Merge remote-tracking branch 'origin/master' into rewrite-filter
Conflicts:
src/Makefile.am
Signed-off-by: Heikki Levanto <heikki@indexdata.dk>
Adam Dickmeiss [Wed, 29 May 2013 10:45:07 +0000 (12:45 +0200)]
Add test in example module using RouterChain
Adam Dickmeiss [Wed, 29 May 2013 10:34:19 +0000 (12:34 +0200)]
router_chain part of public API
Adam Dickmeiss [Mon, 27 May 2013 11:15:35 +0000 (13:15 +0200)]
Version 1.3.56
Adam Dickmeiss [Mon, 27 May 2013 11:12:59 +0000 (13:12 +0200)]
Use different port in example
Adam Dickmeiss [Mon, 27 May 2013 11:12:04 +0000 (13:12 +0200)]
Include config_proxy.xml in dist
Adam Dickmeiss [Mon, 27 May 2013 11:11:58 +0000 (13:11 +0200)]
More documentation for http_client
Adam Dickmeiss [Mon, 27 May 2013 11:00:35 +0000 (13:00 +0200)]
HTTP proxy example
Adam Dickmeiss [Mon, 27 May 2013 11:00:28 +0000 (13:00 +0200)]
Update NEWS
Adam Dickmeiss [Thu, 16 May 2013 08:13:50 +0000 (10:13 +0200)]
http_client: remove Transfer-Encoding from resp MK-445
The Transfer-Encoding should not be relay'ed back to frontend_net
etc.. This will cause a bad response.
Adam Dickmeiss [Wed, 15 May 2013 09:17:08 +0000 (09:17 +0000)]
Fix tstdl linking
Adam Dickmeiss [Wed, 15 May 2013 08:53:45 +0000 (10:53 +0200)]
sd_remove: log error msg + addinfo
Adam Dickmeiss [Wed, 15 May 2013 08:21:50 +0000 (10:21 +0200)]
Remove useless examples
Adam Dickmeiss [Wed, 15 May 2013 08:05:23 +0000 (10:05 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy
Adam Dickmeiss [Wed, 15 May 2013 08:04:14 +0000 (10:04 +0200)]
Fix linking in shared mode
The libmetaproxy library is stripped further and contains
only utilities by this.
Adam Dickmeiss [Tue, 14 May 2013 19:34:02 +0000 (21:34 +0200)]
Update nmake for present_chunk filter
Adam Dickmeiss [Tue, 14 May 2013 19:32:50 +0000 (21:32 +0200)]
Merge remote-tracking branch 'origin/mp_434'
Conflicts:
etc/config1.xml
src/Makefile.am
Adam Dickmeiss [Tue, 14 May 2013 13:40:26 +0000 (15:40 +0200)]
Update nmake for sd_remove
Adam Dickmeiss [Tue, 14 May 2013 13:34:17 +0000 (15:34 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy
Adam Dickmeiss [Tue, 14 May 2013 13:33:55 +0000 (15:33 +0200)]
Update nmake for new filters
Adam Dickmeiss [Tue, 14 May 2013 13:21:39 +0000 (15:21 +0200)]
New filter sd_remove
which removes surrogate diagnostics.
Adam Dickmeiss [Tue, 14 May 2013 12:21:43 +0000 (14:21 +0200)]
Update m4
Adam Dickmeiss [Tue, 14 May 2013 09:17:51 +0000 (11:17 +0200)]
Use dlsym to load all filters
Not on Windows, however, where dlsym is unavailable.
Jakub Skoczen [Fri, 10 May 2013 18:28:02 +0000 (20:28 +0200)]
Avoid re allocations
Jakub Skoczen [Fri, 10 May 2013 14:53:20 +0000 (16:53 +0200)]
Merge branch 'rewrite-filter' of ssh://git.indexdata.com/home/git/pub/metaproxy into rewrite-filter
Jakub Skoczen [Fri, 10 May 2013 14:50:56 +0000 (16:50 +0200)]
HTML push parser
Based on Adam's tclrobot but more aligned with the HTML specs
* all different forms of attrs supported
* whitespaces after tag names allowed
* pi/dtd passthru
also various fixes.
Jakub Skoczen [Wed, 8 May 2013 16:02:40 +0000 (18:02 +0200)]
Fix the test case
Jakub Skoczen [Wed, 8 May 2013 14:49:30 +0000 (16:49 +0200)]
Try to comapte buffers
Jakub Skoczen [Wed, 8 May 2013 14:04:30 +0000 (16:04 +0200)]
More self-contained test
Adam Dickmeiss [Wed, 8 May 2013 10:20:30 +0000 (12:20 +0200)]
Separate boost system check
Jakub Skoczen [Tue, 7 May 2013 15:25:00 +0000 (17:25 +0200)]
Merge remote-tracking branch 'origin/master' into rewrite-filter
Jakub Skoczen [Tue, 7 May 2013 15:24:17 +0000 (17:24 +0200)]
Avoid some re-alloc
Jakub Skoczen [Tue, 7 May 2013 14:45:38 +0000 (16:45 +0200)]
Fix multiple match aggregation
Jakub Skoczen [Tue, 7 May 2013 13:44:57 +0000 (15:44 +0200)]
Fix response rewriting
Adam Dickmeiss [Tue, 7 May 2013 12:46:54 +0000 (14:46 +0200)]
Allow YAZ log level to be given for metaproxy prog
Jakub Skoczen [Tue, 7 May 2013 12:43:09 +0000 (14:43 +0200)]
Using log level
Jakub Skoczen [Tue, 7 May 2013 12:41:44 +0000 (14:41 +0200)]
Prepend with proto
Jakub Skoczen [Tue, 7 May 2013 12:32:34 +0000 (14:32 +0200)]
Use yaz_log
Jakub Skoczen [Tue, 7 May 2013 12:11:05 +0000 (14:11 +0200)]
Log when the filter is invoked
Jakub Skoczen [Tue, 7 May 2013 11:49:50 +0000 (13:49 +0200)]
Include filter in the static factory
Jakub Skoczen [Tue, 7 May 2013 11:42:54 +0000 (13:42 +0200)]
Fix warnings
Adam Dickmeiss [Tue, 7 May 2013 11:29:47 +0000 (13:29 +0200)]
Update example module to use metaproxy-config
rather than yazpp-config.
Adam Dickmeiss [Tue, 7 May 2013 11:28:56 +0000 (13:28 +0200)]
metaproxy-config --libs returns Boost libs
Jakub Skoczen [Tue, 7 May 2013 11:27:00 +0000 (13:27 +0200)]
Merge remote-tracking branch 'origin/master' into rewrite-filter
Jakub Skoczen [Mon, 6 May 2013 14:35:01 +0000 (16:35 +0200)]
Add XML config test
Jakub Skoczen [Mon, 6 May 2013 13:48:48 +0000 (15:48 +0200)]
Configure from XML
Jakub Skoczen [Mon, 6 May 2013 13:27:42 +0000 (15:27 +0200)]
Factor out impl from test
Jakub Skoczen [Mon, 6 May 2013 10:45:46 +0000 (12:45 +0200)]
Rewrite body too
Jakub Skoczen [Mon, 6 May 2013 09:41:52 +0000 (11:41 +0200)]
Refactor
Jakub Skoczen [Fri, 3 May 2013 13:01:55 +0000 (15:01 +0200)]
Reconstruct headers before matching
Jakub Skoczen [Fri, 3 May 2013 12:04:08 +0000 (14:04 +0200)]
Add response rewrite rule
Adam Dickmeiss [Fri, 3 May 2013 10:51:35 +0000 (12:51 +0200)]
SSL server example
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.
Adam Dickmeiss [Fri, 3 May 2013 10:43:12 +0000 (12:43 +0200)]
Require yazpp 1.4.1
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.
Adam Dickmeiss [Fri, 3 May 2013 10:40:26 +0000 (12:40 +0200)]
http_client: simplify check whether URL is abs_path
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
Adam Dickmeiss [Thu, 2 May 2013 18:19:32 +0000 (18:19 +0000)]
Update m4
Jakub Skoczen [Thu, 2 May 2013 16:30:30 +0000 (18:30 +0200)]
Only remember match if not empty
Jakub Skoczen [Thu, 2 May 2013 14:24:34 +0000 (16:24 +0200)]
Use C++ strings and handle non-capturing groups
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.
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.
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)
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).
Dennis Schafroth [Wed, 1 May 2013 13:31:53 +0000 (15:31 +0200)]
Example: Using metaproxy as general HTTP proxy
Jakub Skoczen [Wed, 1 May 2013 07:39:32 +0000 (09:39 +0200)]
Ignore everything (with excetptions)
Jakub Skoczen [Tue, 30 Apr 2013 15:11:07 +0000 (17:11 +0200)]
Humble beginings
Dennis Schafroth [Mon, 29 Apr 2013 16:50:48 +0000 (18:50 +0200)]
Fix: support new configure API
Adam Dickmeiss [Mon, 29 Apr 2013 14:10:54 +0000 (16:10 +0200)]
Update m4 due to different msg WRT Boost system
Adam Dickmeiss [Mon, 29 Apr 2013 13:56:45 +0000 (15:56 +0200)]
Metion libboost-system-dev
Adam Dickmeiss [Mon, 29 Apr 2013 13:40:32 +0000 (15:40 +0200)]
Depend on Boost.System for Boost >= 1.41.0
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.
Adam Dickmeiss [Wed, 24 Apr 2013 12:07:23 +0000 (14:07 +0200)]
http_file rnc: area is 0 or more
Adam Dickmeiss [Mon, 22 Apr 2013 15:12:27 +0000 (17:12 +0200)]
Debug package libmetaproxy4-dbg MP-435
Adam Dickmeiss [Fri, 19 Apr 2013 14:42:44 +0000 (16:42 +0200)]
New filter present_chunk
This filter allows splitting of present requests into smaller
chunks.
Adam Dickmeiss [Thu, 18 Apr 2013 09:37:27 +0000 (11:37 +0200)]
http_client documentation
Adam Dickmeiss [Thu, 18 Apr 2013 09:31:44 +0000 (11:31 +0200)]
Implemented http_client MP-432
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
Adam Dickmeiss [Wed, 17 Apr 2013 11:44:49 +0000 (13:44 +0200)]
Fix spelling in sysconfig/metaproxy
Adam Dickmeiss [Wed, 10 Apr 2013 07:48:46 +0000 (09:48 +0200)]
Version 1.3.55
Adam Dickmeiss [Fri, 5 Apr 2013 09:35:02 +0000 (11:35 +0200)]
Update ZOOM documentation for authenticationMode
Adam Dickmeiss [Fri, 5 Apr 2013 09:34:41 +0000 (11:34 +0200)]
Example config using 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".
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.
Adam Dickmeiss [Wed, 27 Mar 2013 12:56:59 +0000 (13:56 +0100)]
Ignore local0.ent
Adam Dickmeiss [Wed, 27 Mar 2013 12:37:50 +0000 (13:37 +0100)]
Version 1.3.54
Adam Dickmeiss [Wed, 27 Mar 2013 12:05:05 +0000 (13:05 +0100)]
Documentation rebuilt if local.ent changes
Adam Dickmeiss [Wed, 27 Mar 2013 10:33:12 +0000 (11:33 +0100)]
Spell Solr as Solr
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
Adam Dickmeiss [Wed, 27 Mar 2013 10:26:14 +0000 (11:26 +0100)]
Change case of Solr in msg
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.
Adam Dickmeiss [Tue, 19 Mar 2013 11:20:21 +0000 (12:20 +0100)]
RPM: simplify make install rule
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
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
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.
Adam Dickmeiss [Tue, 12 Mar 2013 17:59:10 +0000 (18:59 +0100)]
Doc: fix id of metaproxy-config ref
Adam Dickmeiss [Thu, 28 Feb 2013 15:11:00 +0000 (16:11 +0100)]
Doc update for USEMARCON support
Adam Dickmeiss [Thu, 28 Feb 2013 15:01:25 +0000 (16:01 +0100)]
Trim retrievalinfo header
Adam Dickmeiss [Thu, 28 Feb 2013 14:42:53 +0000 (15:42 +0100)]
Mark Usemarcon as supported