yazproxy-moved-to-github.git
18 years agoEnable shared for debug development
Adam Dickmeiss [Thu, 9 Mar 2006 14:14:06 +0000 (14:14 +0000)]
Enable shared for debug development

18 years agoReuse sessions with same idAuthentication information.
Adam Dickmeiss [Thu, 9 Mar 2006 14:12:57 +0000 (14:12 +0000)]
Reuse sessions with same idAuthentication information.

18 years agoIssue warnings for modules where loading fails
Adam Dickmeiss [Thu, 9 Mar 2006 14:12:24 +0000 (14:12 +0000)]
Issue warnings for modules where loading fails

18 years agoUse proper recordcharset for opacxml
Adam Dickmeiss [Thu, 9 Mar 2006 00:08:29 +0000 (00:08 +0000)]
Use proper recordcharset for opacxml

18 years ago--disable-shared by default
Adam Dickmeiss [Fri, 10 Feb 2006 12:32:25 +0000 (12:32 +0000)]
--disable-shared by default

18 years agoFixes for SRW/U responses
Adam Dickmeiss [Wed, 30 Nov 2005 11:48:19 +0000 (11:48 +0000)]
Fixes for SRW/U responses

18 years agoIf a backend target connection fails to operatate or times out, the
Adam Dickmeiss [Wed, 30 Nov 2005 11:38:46 +0000 (11:38 +0000)]
If a backend target connection fails to operatate or times out, the
proxy sends a SRW/U response with Temporary system error - along
with the host address of the backend. For Z39.50 we just close the
connection, but we might send a close instead.

18 years agoFix null pointer reference - occurred ir query charset was defined
Adam Dickmeiss [Tue, 29 Nov 2005 09:17:37 +0000 (09:17 +0000)]
Fix null pointer reference - occurred ir query charset was defined

18 years agoFixed a problem with HTTP 1.1 hanging connections that occurred
Adam Dickmeiss [Fri, 25 Nov 2005 19:37:28 +0000 (19:37 +0000)]
Fixed a problem with HTTP 1.1 hanging connections that occurred
for some SRW/SRU responses (such as Explain, HTTP 404, ..).

18 years agoGet rid of dead code
Adam Dickmeiss [Thu, 27 Oct 2005 22:38:02 +0000 (22:38 +0000)]
Get rid of dead code

18 years agoUse xsl:element for document element to prevent ns
Adam Dickmeiss [Thu, 27 Oct 2005 20:10:12 +0000 (20:10 +0000)]
Use xsl:element for document element to prevent ns

18 years agoUse move_way_gdu method from GDU clas. Minor update due to size_t != int
Adam Dickmeiss [Thu, 13 Oct 2005 09:58:52 +0000 (09:58 +0000)]
Use move_way_gdu method from GDU clas. Minor update due to size_t != int

18 years agoInitial checkin of proxy 2 code
Adam Dickmeiss [Wed, 5 Oct 2005 12:07:14 +0000 (12:07 +0000)]
Initial checkin of proxy 2 code

18 years agoStart 3 servers in test of Msg_Thread
Adam Dickmeiss [Wed, 5 Oct 2005 12:05:59 +0000 (12:05 +0000)]
Start 3 servers in test of Msg_Thread

18 years agoUse pthread_cond_broadcast to signal 'stop server'
Adam Dickmeiss [Wed, 5 Oct 2005 12:05:40 +0000 (12:05 +0000)]
Use pthread_cond_broadcast to signal 'stop server'

18 years agoMake room for limit-search and limit-connect
Adam Dickmeiss [Mon, 26 Sep 2005 09:25:05 +0000 (09:25 +0000)]
Make room for limit-search and limit-connect

18 years agoAdd more proper options for t-server
Adam Dickmeiss [Mon, 26 Sep 2005 09:24:14 +0000 (09:24 +0000)]
Add more proper options for t-server

18 years agoAdd destructor for class (interface) IMsg_Thread.
Adam Dickmeiss [Mon, 26 Sep 2005 09:22:59 +0000 (09:22 +0000)]
Add destructor for class (interface) IMsg_Thread.

18 years agoMsg_Thread constructor now has no_threads which is the number of
Adam Dickmeiss [Mon, 12 Sep 2005 20:09:14 +0000 (20:09 +0000)]
Msg_Thread constructor now has no_threads which is the number of
worker threads to use (used to be one only).

18 years agoSync with YAZ' version YAZPROXY.ERE3
Adam Dickmeiss [Mon, 12 Sep 2005 12:48:46 +0000 (12:48 +0000)]
Sync with YAZ' version

18 years agoUnused code removed in test server
Adam Dickmeiss [Sun, 11 Sep 2005 20:06:54 +0000 (20:06 +0000)]
Unused code removed in test server

18 years agoDocument more yazproxy command line options. Bug #412.
Adam Dickmeiss [Wed, 7 Sep 2005 09:28:46 +0000 (09:28 +0000)]
Document more yazproxy command line options. Bug #412.

18 years agoconfig-modules.xml part of dist YAZPROXY.ERE2
Adam Dickmeiss [Wed, 17 Aug 2005 06:49:33 +0000 (06:49 +0000)]
config-modules.xml part of dist

18 years agoUpdate to latest YAZ m4 util.
Adam Dickmeiss [Mon, 15 Aug 2005 13:05:14 +0000 (13:05 +0000)]
Update to latest YAZ m4 util.

18 years agoFix handling of Proxy class and authentication thread. The destruction
Adam Dickmeiss [Mon, 15 Aug 2005 12:53:08 +0000 (12:53 +0000)]
Fix handling of Proxy class and authentication thread. The destruction
of either now works better, it seems. Also fix ODR memory being
reset for SRW/SRU queries.

18 years agoAvoid one condition variable in msg-thread impl
Adam Dickmeiss [Mon, 15 Aug 2005 12:51:57 +0000 (12:51 +0000)]
Avoid one condition variable in msg-thread impl

18 years agoFix a race-condition in Msg_Thread::run, Msg_Thread::put .
Adam Dickmeiss [Wed, 10 Aug 2005 12:42:24 +0000 (12:42 +0000)]
Fix a race-condition in Msg_Thread::run, Msg_Thread::put .

18 years agoExpanded tabs in all source files. Added vim/emacs local variables
Adam Dickmeiss [Sat, 25 Jun 2005 15:58:33 +0000 (15:58 +0000)]
Expanded tabs in all source files. Added vim/emacs local variables
trailer.

18 years agoAdded small server to test MSG threads.
Adam Dickmeiss [Tue, 21 Jun 2005 21:54:05 +0000 (21:54 +0000)]
Added small server to test MSG threads.

18 years agoHandle multiple input PDU packages using GDU class of YAZ++ 1.0.
Adam Dickmeiss [Tue, 21 Jun 2005 18:46:04 +0000 (18:46 +0000)]
Handle multiple input PDU packages using GDU class of YAZ++ 1.0.
Rewrote timeout handling dealing with XSL transform + Delay (because
of handwidth limits).

18 years agoAdded proper memory scheme for authentication handler module.
Adam Dickmeiss [Fri, 10 Jun 2005 22:54:22 +0000 (22:54 +0000)]
Added proper memory scheme for authentication handler module.

18 years agoYaz_ProxyModules keeps track of number of open modules.
Adam Dickmeiss [Fri, 10 Jun 2005 22:53:43 +0000 (22:53 +0000)]
Yaz_ProxyModules keeps track of number of open modules.

18 years agoFixed NULL ptr refernece that could occur if a client sets negotiation
Adam Dickmeiss [Fri, 10 Jun 2005 17:54:10 +0000 (17:54 +0000)]
Fixed NULL ptr refernece that could occur if a client sets negotiation
option but do not include character set negotiation record.

18 years agoUpdated for yaz++ API where Yaz_ was removed from many classes.
Adam Dickmeiss [Wed, 8 Jun 2005 13:29:03 +0000 (13:29 +0000)]
Updated for yaz++ API where Yaz_ was removed from many classes.

18 years agoUpdate for the yazpp_1 namespace.
Adam Dickmeiss [Thu, 2 Jun 2005 06:40:46 +0000 (06:40 +0000)]
Update for the yazpp_1 namespace.

18 years agoAdded support for threaded authentication modules. See
Adam Dickmeiss [Mon, 30 May 2005 20:09:20 +0000 (20:09 +0000)]
Added support for threaded authentication modules. See
etc/config-modules.xml + mod_sample.cpp for an example.

18 years agoImplemented new class Msg_Thread which allows for threaded facilities
Adam Dickmeiss [Mon, 30 May 2005 20:08:58 +0000 (20:08 +0000)]
Implemented new class Msg_Thread which allows for threaded facilities
combined with the socketObservable interface. That is it allows for
threading combined with select/poll.

18 years agoBump version to 1.1.0
Adam Dickmeiss [Fri, 27 May 2005 19:01:42 +0000 (19:01 +0000)]
Bump version to 1.1.0

18 years agoFixed bug #355: YAZ proxy does not seem to load balance. Error
Adam Dickmeiss [Fri, 27 May 2005 18:07:49 +0000 (18:07 +0000)]
Fixed bug #355: YAZ proxy does not seem to load balance. Error
was caused by seemingly clever logic that choosed backend
with most spares.. But sometimes the one with most spares is
much more used. Now the backend with minimum use is always used.

18 years agoBump version to 1.0.1
Adam Dickmeiss [Fri, 20 May 2005 21:34:44 +0000 (21:34 +0000)]
Bump version to 1.0.1

18 years agoAdded include stdlib.h
Adam Dickmeiss [Fri, 20 May 2005 21:32:31 +0000 (21:32 +0000)]
Added include stdlib.h

18 years agoNew test for thread+socket manager communication YAZPROXY.ERE
Adam Dickmeiss [Thu, 19 May 2005 21:29:58 +0000 (21:29 +0000)]
New test for thread+socket manager communication

18 years agoIssue warning/error if Libxslt is not found
Adam Dickmeiss [Wed, 18 May 2005 20:29:18 +0000 (20:29 +0000)]
Issue warning/error if Libxslt is not found

18 years agoAdded support for Z39.50 character set negotiation. This allows
Adam Dickmeiss [Wed, 18 May 2005 20:15:22 +0000 (20:15 +0000)]
Added support for Z39.50 character set negotiation. This allows
the proxy to act as a Z39.50 server supporting character set negotiation
for backends not supporting it. New config element target-charset
specifies encoding for target, and MUST be specified in order
for any conversion to take place. Conversion also takes place for
SRW/SRU clients that are negotiate implicitly to UTF-8.

18 years agoIgnore generated file cdetails
Mike Taylor [Mon, 16 May 2005 12:00:06 +0000 (12:00 +0000)]
Ignore generated file cdetails

18 years ago<keepalive> example now has <pdu> child (was <retrieve>)
Mike Taylor [Sat, 14 May 2005 14:15:50 +0000 (14:15 +0000)]
<keepalive> example now has <pdu> child (was <retrieve>)

18 years agoUsing more friendly buildconf from YAZ - slightly updated
Adam Dickmeiss [Sun, 8 May 2005 15:23:05 +0000 (15:23 +0000)]
Using more friendly buildconf from YAZ - slightly updated

18 years agoIf character set conversion fails - pass thru.. Unfortunately we don't
Adam Dickmeiss [Fri, 6 May 2005 06:55:54 +0000 (06:55 +0000)]
If character set conversion fails - pass thru.. Unfortunately we don't
know the encoding of SRU parameters.

18 years agoNew file needed for character set conversions
Adam Dickmeiss [Wed, 4 May 2005 08:35:03 +0000 (08:35 +0000)]
New file needed for character set conversions

18 years agoAdded support for character set conversion of query terms. The XML
Adam Dickmeiss [Wed, 4 May 2005 08:31:43 +0000 (08:31 +0000)]
Added support for character set conversion of query terms. The XML
configuration element query-charset specifies character set encoding
for target. In SRW/SRU mode, the proxy will convert from UTF-8 to
this encoding. Next, logical, step will be to honor Z39.50 character
set negotiation as well, so that Z39.50 queries will be converted
as well (we do not know encoding for Z39.50 sessions unless they say so).

19 years agoFix path to iconv.dll + libxslt.lib YAZPROXY.1.0
Adam Dickmeiss [Mon, 14 Mar 2005 13:27:35 +0000 (13:27 +0000)]
Fix path to iconv.dll + libxslt.lib

19 years agoFix schema ID
Adam Dickmeiss [Mon, 14 Mar 2005 13:16:03 +0000 (13:16 +0000)]
Fix schema ID

19 years agoFix copyright year
Adam Dickmeiss [Mon, 14 Mar 2005 13:15:54 +0000 (13:15 +0000)]
Fix copyright year

19 years agoUpdate XML schema
Adam Dickmeiss [Mon, 14 Mar 2005 13:15:39 +0000 (13:15 +0000)]
Update XML schema

19 years agoAdd sample config using modules
Adam Dickmeiss [Mon, 14 Mar 2005 13:10:08 +0000 (13:10 +0000)]
Add sample config using modules

19 years agoSimplify this sample config
Adam Dickmeiss [Mon, 14 Mar 2005 13:09:59 +0000 (13:09 +0000)]
Simplify this sample config

19 years agoTowards 1.0
Adam Dickmeiss [Mon, 14 Mar 2005 12:27:33 +0000 (12:27 +0000)]
Towards 1.0

19 years agoAdded Support OPAC to XML conversion. Triggered by backendtype="opac"
Adam Dickmeiss [Tue, 22 Feb 2005 10:08:19 +0000 (10:08 +0000)]
Added Support OPAC to XML conversion. Triggered by backendtype="opac"
and marcxml="1" in syntax sections.

19 years agoOption -X now makes it possible to stop YAZ proxy by sending
Adam Dickmeiss [Mon, 21 Feb 2005 14:27:31 +0000 (14:27 +0000)]
Option -X now makes it possible to stop YAZ proxy by sending
"stop" as PROXY target (in init). This used to be debug code in a
#if 0 .. #endif section.

Moved a lot of "private" stuff to proxyp.h so that only Yaz_Proxy
is publicly defined in include/yazproxy/proxy.h.

Authentication info sent to target modified. Element renamed from
"authentication" to "target-authentication" to avoid confusion with
client authentication. It now takes an authentication
type=open|idPass|anonymous . Value is user:group:password for idPass,
user/pass for open. Option -U auth is no longer supported.

19 years agoFix M4 quotation
Adam Dickmeiss [Mon, 21 Feb 2005 14:26:49 +0000 (14:26 +0000)]
Fix M4 quotation

19 years agoOnly use dlclose if DL is present/supported.
Adam Dickmeiss [Sun, 20 Feb 2005 21:59:08 +0000 (21:59 +0000)]
Only use dlclose if DL is present/supported.

19 years agoBump version to 0.9.1.
Adam Dickmeiss [Fri, 11 Feb 2005 15:40:07 +0000 (15:40 +0000)]
Bump version to 0.9.1.

19 years agoRephrase comment about missing XML support
Adam Dickmeiss [Fri, 11 Feb 2005 15:39:55 +0000 (15:39 +0000)]
Rephrase comment about missing XML support

19 years agoDo --enable-shared by default.
Adam Dickmeiss [Fri, 11 Feb 2005 15:29:43 +0000 (15:29 +0000)]
Do --enable-shared by default.

19 years agoImplemented plugin facility. First use is authentication from
Adam Dickmeiss [Fri, 11 Feb 2005 15:19:07 +0000 (15:19 +0000)]
Implemented plugin facility. First use is authentication from
external sources.

19 years agoRemove unused and fix unterminated string (syntax error)
Adam Dickmeiss [Thu, 10 Feb 2005 19:17:44 +0000 (19:17 +0000)]
Remove unused and fix unterminated string (syntax error)

19 years agoAdded patch, which involve yazproxy to Character Set and Language
oleg [Thu, 10 Feb 2005 08:09:41 +0000 (08:09 +0000)]
Added patch, which involve yazproxy to Character Set and Language
Negotiation Model.

19 years agoUse acloca -I. because of usemarcon.m4 YAZPROXY.0.9
Adam Dickmeiss [Tue, 8 Feb 2005 14:06:51 +0000 (14:06 +0000)]
Use acloca -I. because of usemarcon.m4

19 years agoSpecify YAZ proxy API version 0.9 or later
Adam Dickmeiss [Mon, 7 Feb 2005 14:58:12 +0000 (14:58 +0000)]
Specify YAZ proxy API version 0.9 or later

19 years agoRequire yaz++ 0.9 or later
Adam Dickmeiss [Mon, 7 Feb 2005 14:57:39 +0000 (14:57 +0000)]
Require yaz++ 0.9 or later

19 years agoWIN32 compile fixes
Adam Dickmeiss [Mon, 7 Feb 2005 13:29:38 +0000 (13:29 +0000)]
WIN32 compile fixes

19 years agoTowards 0.9
Adam Dickmeiss [Mon, 7 Feb 2005 09:50:56 +0000 (09:50 +0000)]
Towards 0.9

19 years agoSpecify usemarcon configure option
Adam Dickmeiss [Mon, 7 Feb 2005 09:50:23 +0000 (09:50 +0000)]
Specify usemarcon configure option

19 years agoDo not use USEMARCON by default
Adam Dickmeiss [Mon, 7 Feb 2005 09:11:19 +0000 (09:11 +0000)]
Do not use USEMARCON by default

19 years agoAdded version check
Adam Dickmeiss [Mon, 7 Feb 2005 09:07:51 +0000 (09:07 +0000)]
Added version check

19 years agoMore verbose log if HTTP file access fails
Adam Dickmeiss [Tue, 18 Jan 2005 10:49:45 +0000 (10:49 +0000)]
More verbose log if HTTP file access fails

19 years agoAdded core mime types
Adam Dickmeiss [Tue, 18 Jan 2005 10:49:22 +0000 (10:49 +0000)]
Added core mime types

19 years agoAdded include stdlib.h.
Adam Dickmeiss [Mon, 17 Jan 2005 18:44:39 +0000 (18:44 +0000)]
Added include stdlib.h.

19 years agoAdded configure check for headers pwd.h sys/wait.h
Adam Dickmeiss [Sun, 16 Jan 2005 21:50:25 +0000 (21:50 +0000)]
Added configure check for headers pwd.h sys/wait.h

19 years agoPrevent warning about unused var
Adam Dickmeiss [Tue, 11 Jan 2005 20:58:04 +0000 (20:58 +0000)]
Prevent warning about unused var

19 years agoAdded check for various POSIX headers. Abort configure if
Adam Dickmeiss [Tue, 11 Jan 2005 20:50:28 +0000 (20:50 +0000)]
Added check for various POSIX headers. Abort configure if
YAZ++ is not found.

19 years agoFix NULL pointer reference (occurred when close PDU was received)
Adam Dickmeiss [Wed, 15 Dec 2004 11:42:27 +0000 (11:42 +0000)]
Fix NULL pointer reference (occurred when close PDU was received)

19 years agoUsing yaz/log.h again. Added config file HTTP access.
Adam Dickmeiss [Mon, 13 Dec 2004 20:52:33 +0000 (20:52 +0000)]
Using yaz/log.h again. Added config file HTTP access.

19 years agoDefine YAZ_USE_NEW_LOG=1 if app require YAZ > 2.0.28
Adam Dickmeiss [Mon, 13 Dec 2004 20:22:23 +0000 (20:22 +0000)]
Define YAZ_USE_NEW_LOG=1 if app require YAZ > 2.0.28

19 years agoRemove unnecessary include in USEMARCON test
Adam Dickmeiss [Wed, 8 Dec 2004 14:41:27 +0000 (14:41 +0000)]
Remove unnecessary include in USEMARCON test

19 years agoUse backendtype none instead of finmarc
Adam Dickmeiss [Mon, 6 Dec 2004 08:00:28 +0000 (08:00 +0000)]
Use backendtype none instead of finmarc

19 years agoAdded test program for the use of CDetails object from USEMARCON.
Adam Dickmeiss [Fri, 3 Dec 2004 15:50:53 +0000 (15:50 +0000)]
Added test program for the use of CDetails object from USEMARCON.

19 years agoAdded support for MARC record conversion with Usemarcon
Adam Dickmeiss [Fri, 3 Dec 2004 14:28:18 +0000 (14:28 +0000)]
Added support for MARC record conversion with Usemarcon

19 years agoUpdate with new yazpp.m4 (that makes make distcheck easy)
Adam Dickmeiss [Fri, 3 Dec 2004 14:27:40 +0000 (14:27 +0000)]
Update with new yazpp.m4 (that makes make distcheck easy)

19 years agoUpdates for yaz/ylog.h
Adam Dickmeiss [Tue, 30 Nov 2004 21:10:45 +0000 (21:10 +0000)]
Updates for yaz/ylog.h

19 years agoFix new bug introduced by previous commit (../yaz* not used)
Adam Dickmeiss [Mon, 22 Nov 2004 10:55:02 +0000 (10:55 +0000)]
Fix new bug introduced by previous commit (../yaz* not used)

19 years agoFixed bug #212: make distcheck uses global yaz, not a local one
Adam Dickmeiss [Fri, 19 Nov 2004 18:32:41 +0000 (18:32 +0000)]
Fixed bug #212: make distcheck uses global yaz, not a local one

19 years agoImplement XInclude for XML configuration file(s).
Adam Dickmeiss [Tue, 9 Nov 2004 14:24:22 +0000 (14:24 +0000)]
Implement XInclude for XML configuration file(s).

19 years agoFix bug #195: YAZ proxy removes otherInfo.
Adam Dickmeiss [Thu, 28 Oct 2004 22:29:43 +0000 (22:29 +0000)]
Fix bug #195: YAZ proxy removes otherInfo.

19 years agoAdded type cast to long for sys limits - and log as long.
Adam Dickmeiss [Sat, 23 Oct 2004 23:15:48 +0000 (23:15 +0000)]
Added type cast to long for sys limits - and log as long.

19 years agoFixed bug #189: Bad authenticated session transfer.
Adam Dickmeiss [Sat, 23 Oct 2004 23:12:23 +0000 (23:12 +0000)]
Fixed bug #189: Bad authenticated session transfer.
New config element "authentication" which specifies authentication
(Open v2/v3 Z39.50) to be used for backend.

19 years agoFix bug #186: charset / marc problem with char A4.
Adam Dickmeiss [Wed, 20 Oct 2004 20:35:33 +0000 (20:35 +0000)]
Fix bug #186: charset / marc problem with char A4.

19 years agoBug fix: SRW/SRU explain did not work if no default target was defined.
Adam Dickmeiss [Tue, 19 Oct 2004 18:34:15 +0000 (18:34 +0000)]
Bug fix: SRW/SRU explain did not work if no default target was defined.

19 years agoImplement bug #143: Add support for multiple SRW/SRU targets.
Adam Dickmeiss [Mon, 18 Oct 2004 22:10:57 +0000 (22:10 +0000)]
Implement bug #143: Add support for multiple SRW/SRU targets.

19 years agoAdd attribute 'database' for target
Adam Dickmeiss [Mon, 18 Oct 2004 21:49:21 +0000 (21:49 +0000)]
Add attribute 'database' for target