yazproxy-moved-to-github.git
13 years agoDont use XSLT_LIBS. It is already part of YAZ' libs output
Adam Dickmeiss [Fri, 7 Jul 2006 11:25:41 +0000 (11:25 +0000)]
Dont use XSLT_LIBS. It is already part of YAZ' libs output

13 years agoUse YAZ_HAVE_XSLT because yaz-config 2.1.23 or later defines it
Adam Dickmeiss [Thu, 6 Jul 2006 11:50:26 +0000 (11:50 +0000)]
Use YAZ_HAVE_XSLT because yaz-config 2.1.23 or later defines it

13 years agoRequire newer yazpp and yaz
Adam Dickmeiss [Thu, 6 Jul 2006 11:49:15 +0000 (11:49 +0000)]
Require newer yazpp and yaz

13 years agoApplied Ere's global client-authentication patch.
Adam Dickmeiss [Wed, 28 Jun 2006 23:38:23 +0000 (23:38 +0000)]
Applied Ere's global client-authentication patch.

13 years agoFix dist-hook so that make distcheck works
Adam Dickmeiss [Wed, 28 Jun 2006 21:45:49 +0000 (21:45 +0000)]
Fix dist-hook so that make distcheck works

13 years agoIgnore ChangeLog
Adam Dickmeiss [Fri, 16 Jun 2006 09:00:19 +0000 (09:00 +0000)]
Ignore ChangeLog

13 years agoMaterial fixes as pointed out by Ashley Sanders. Mention SRU rather than
Adam Dickmeiss [Wed, 14 Jun 2006 10:12:23 +0000 (10:12 +0000)]
Material fixes as pointed out by Ashley Sanders. Mention SRU rather than
SRW/SRU in most places.

13 years agoInternal release 1.2.1.1.
Adam Dickmeiss [Fri, 9 Jun 2006 09:37:27 +0000 (09:37 +0000)]
Internal release 1.2.1.1.

13 years agoAdd support for thread config element which specifies number of
Adam Dickmeiss [Fri, 9 Jun 2006 09:35:13 +0000 (09:35 +0000)]
Add support for thread config element which specifies number of
threads to be used for auhentication modules. By default, no
threading is used which happen to be value 0. Modules will still
work but they will be blocking.

13 years agoMake ChangeLog in make dist rule
Adam Dickmeiss [Fri, 9 Jun 2006 09:02:33 +0000 (09:02 +0000)]
Make ChangeLog in make dist rule

13 years agoSet client-IP (AKA peername) to "nullpeer" if ->getpeername returns
Adam Dickmeiss [Fri, 9 Jun 2006 09:01:31 +0000 (09:01 +0000)]
Set client-IP (AKA peername) to "nullpeer" if ->getpeername returns
a NULL pointer.

13 years agoDont generate xsl.in files
Adam Dickmeiss [Fri, 2 Jun 2006 10:58:12 +0000 (10:58 +0000)]
Dont generate xsl.in files

13 years agoGenerate doc/local.ent via configure instead of doc/yazpp.xml.
Adam Dickmeiss [Fri, 2 Jun 2006 08:53:23 +0000 (08:53 +0000)]
Generate doc/local.ent via configure instead of doc/yazpp.xml.
Use {HTML,TKL,MAN}_COMPILE macros for documentation.

13 years agoAdded entities.ent
Adam Dickmeiss [Fri, 26 May 2006 19:59:58 +0000 (19:59 +0000)]
Added entities.ent

13 years agoDocumentation now based on Docbook XML/XSLT using xsltproc + Norman Walsh's
Adam Dickmeiss [Fri, 26 May 2006 19:57:35 +0000 (19:57 +0000)]
Documentation now based on Docbook XML/XSLT using xsltproc + Norman Walsh's
stylesheets. It means that the CVS version is no longer depending on
jade/openjade or docbook-to-man scripts. PDF is no longer part of the
distribution - but can optionally be made using DSSSL/jadetex or FOP.

13 years agoClean up news YAZPROXY.1.2.1
Adam Dickmeiss [Mon, 1 May 2006 09:28:00 +0000 (09:28 +0000)]
Clean up news

13 years agoVersin 1.2.1
Adam Dickmeiss [Mon, 1 May 2006 09:17:10 +0000 (09:17 +0000)]
Versin 1.2.1

13 years agoDisable extra logging for particular client IP
Adam Dickmeiss [Mon, 1 May 2006 09:15:52 +0000 (09:15 +0000)]
Disable extra logging for particular client IP

13 years agoFix session number when HTTP Forwarded is in effect
Adam Dickmeiss [Mon, 1 May 2006 09:14:08 +0000 (09:14 +0000)]
Fix session number when HTTP Forwarded is in effect

13 years agoDo not depend on docbook utils. Doc is part of make dist
Adam Dickmeiss [Mon, 1 May 2006 08:57:43 +0000 (08:57 +0000)]
Do not depend on docbook utils. Doc is part of make dist

13 years agoDEBUG=0
Adam Dickmeiss [Sun, 30 Apr 2006 14:11:32 +0000 (14:11 +0000)]
DEBUG=0

13 years agoSimplify makefile. Use obj/dobj for temporary objects.
Adam Dickmeiss [Sun, 30 Apr 2006 14:09:31 +0000 (14:09 +0000)]
Simplify makefile. Use obj/dobj for temporary objects.

13 years agoHandle preprocessor define VERSION not being present
Adam Dickmeiss [Sun, 30 Apr 2006 13:23:45 +0000 (13:23 +0000)]
Handle preprocessor define VERSION not being present

13 years agoUpdate for VS 2005
Adam Dickmeiss [Sun, 30 Apr 2006 13:20:47 +0000 (13:20 +0000)]
Update for VS 2005

13 years agoUpdate to use proper libs
Adam Dickmeiss [Sun, 30 Apr 2006 13:15:07 +0000 (13:15 +0000)]
Update to use proper libs

13 years agoBump date in header.
Adam Dickmeiss [Thu, 27 Apr 2006 00:11:40 +0000 (00:11 +0000)]
Bump date in header.

13 years agoUpgrade version to 1.2.0
Adam Dickmeiss [Thu, 27 Apr 2006 00:11:28 +0000 (00:11 +0000)]
Upgrade version to 1.2.0

13 years agoFixed timeout bug for SRW/SRU operation : Could occur if XSLT
Adam Dickmeiss [Thu, 27 Apr 2006 00:04:42 +0000 (00:04 +0000)]
Fixed timeout bug for SRW/SRU operation : Could occur if XSLT
transformation returned cached records.
Fixed a problem with reading of CQL to RPN spec file. In some
cases file could not be opened. This is due to a Solaris bug which
fails to read fd's in FILE < 255.

13 years agoUsing entities
Adam Dickmeiss [Wed, 26 Apr 2006 12:17:23 +0000 (12:17 +0000)]
Using entities

13 years agoYaz_Proxy::dec_ref has no arguments.
Adam Dickmeiss [Wed, 26 Apr 2006 11:59:10 +0000 (11:59 +0000)]
Yaz_Proxy::dec_ref has no arguments.

13 years agoMore NEWS
Adam Dickmeiss [Wed, 26 Apr 2006 11:58:51 +0000 (11:58 +0000)]
More NEWS

13 years agoBump version to 1.2.0
Adam Dickmeiss [Wed, 26 Apr 2006 11:58:40 +0000 (11:58 +0000)]
Bump version to 1.2.0

13 years agoDebian package updates: Depends on libyazpp1. Build-Depends: libyazpp-dev.
Adam Dickmeiss [Tue, 25 Apr 2006 20:32:39 +0000 (20:32 +0000)]
Debian package updates: Depends on libyazpp1. Build-Depends: libyazpp-dev.
Generate package libyazproxy1, libyazproxy-dev, yazproxy. Move usr/share
files from libyazproxy1 to yazproxy. Move compat spec to rules. postinst
for libyazproxy1 only. Move man pages to .manpages-files.

13 years agoMove compat
Adam Dickmeiss [Tue, 25 Apr 2006 20:02:20 +0000 (20:02 +0000)]
Move compat

13 years agoBump version to 1.1.0.4 YAZPROXY.1.1.0.4
Adam Dickmeiss [Mon, 24 Apr 2006 10:50:23 +0000 (10:50 +0000)]
Bump version to 1.1.0.4

13 years agoReturn diagnostic if negative present request ranges are used in
Adam Dickmeiss [Sat, 22 Apr 2006 07:03:34 +0000 (07:03 +0000)]
Return diagnostic if negative present request ranges are used in
Z39.50 Present and piggyback parms in Z39.50 Search.

13 years agoUpdated to use doc/common (id-docbook-common)
Adam Dickmeiss [Thu, 20 Apr 2006 12:05:53 +0000 (12:05 +0000)]
Updated to use doc/common (id-docbook-common)

13 years agoBug fix: Handle the case where an APDU can be decoded but not encoded. YAZPROXY.1.1.0.3
Adam Dickmeiss [Mon, 17 Apr 2006 07:38:21 +0000 (07:38 +0000)]
Bug fix: Handle the case where an APDU can be decoded but not encoded.
This should not happen, but it does for a particular bad OID. This is
a bug in YAZ and will be fixed there too. (More checks in decoding of
OIDs).

13 years agoBump version to 1.1.0.3
Adam Dickmeiss [Sun, 16 Apr 2006 07:46:03 +0000 (07:46 +0000)]
Bump version to 1.1.0.3

13 years agoDescribe period-connect
Adam Dickmeiss [Sun, 16 Apr 2006 07:45:03 +0000 (07:45 +0000)]
Describe period-connect

13 years agoFixed a bug in Yaz_Proxy::recv_GDU_more . The reference count for
Adam Dickmeiss [Sun, 16 Apr 2006 07:35:06 +0000 (07:35 +0000)]
Fixed a bug in Yaz_Proxy::recv_GDU_more . The reference count for
Yaz_Proxy object is incremented/decremented in each call to recv_GDU_more
and we break out if object was destructed ..

13 years agoFor config, dont wan for module element
Adam Dickmeiss [Sun, 16 Apr 2006 07:33:13 +0000 (07:33 +0000)]
For config, dont wan for module element

13 years agoIncrement session number again (was deleted by mistake in 1.56)
Adam Dickmeiss [Sat, 15 Apr 2006 15:54:38 +0000 (15:54 +0000)]
Increment session number again (was deleted by mistake in 1.56)

13 years agoRemove log message YAZPROXY.1.1.0.2
Adam Dickmeiss [Thu, 13 Apr 2006 00:43:56 +0000 (00:43 +0000)]
Remove log message

13 years agoAnother fix for operation sequence number (m_request_no)
Adam Dickmeiss [Thu, 13 Apr 2006 00:41:11 +0000 (00:41 +0000)]
Another fix for operation sequence number (m_request_no)

13 years agoBump year
Adam Dickmeiss [Thu, 13 Apr 2006 00:10:27 +0000 (00:10 +0000)]
Bump year

13 years agoFix link to SRU home page
Adam Dickmeiss [Thu, 13 Apr 2006 00:10:19 +0000 (00:10 +0000)]
Fix link to SRU home page

13 years agoBump version to 1.1.0.2
Adam Dickmeiss [Thu, 13 Apr 2006 00:02:50 +0000 (00:02 +0000)]
Bump version to 1.1.0.2

13 years agoUse HTTP header X-Forwarded-For as IP for blocking if available (for
Adam Dickmeiss [Thu, 13 Apr 2006 00:02:23 +0000 (00:02 +0000)]
Use HTTP header X-Forwarded-For as IP for blocking if available (for
the case it's behind a proxy). Failing that use the peer IP given by
TCP/IP.
The operation sequence number is now incremented for each operation
(GET,POST,SEARCH etc). By mistake that was disabled.
Log each HTTP request in a brief format (method followed by path).

13 years agoTemporarily enable full log for access from IP with NIS GROUP client
Adam Dickmeiss [Wed, 12 Apr 2006 11:55:38 +0000 (11:55 +0000)]
Temporarily enable full log for access from IP with NIS GROUP client

13 years agoBump version to 1.1.0.1
Adam Dickmeiss [Wed, 12 Apr 2006 11:46:06 +0000 (11:46 +0000)]
Bump version to 1.1.0.1

13 years agoFixed bug in Yaz_Proxy::get_client . When MAXCLIENTS is reached,
Adam Dickmeiss [Wed, 12 Apr 2006 11:30:52 +0000 (11:30 +0000)]
Fixed bug in Yaz_Proxy::get_client . When MAXCLIENTS is reached,
the server to be "thrown out" was not destructed properly; now using
dec_ref instead.
Fixed bug in Yaz_ProxyClient::timeoutNotify where Yaz_Proxy pointer
was read from a freed class; now reading pointer before free.

13 years agoSupply YAZ Proxy version in Z39.50 init responses
Adam Dickmeiss [Thu, 6 Apr 2006 17:23:14 +0000 (17:23 +0000)]
Supply YAZ Proxy version in Z39.50 init responses

13 years agoIncrease session buffer string
Adam Dickmeiss [Thu, 6 Apr 2006 17:09:16 +0000 (17:09 +0000)]
Increase session buffer string

13 years agoperiod-connect which specifies the period we do connect statistics
Adam Dickmeiss [Thu, 6 Apr 2006 16:25:20 +0000 (16:25 +0000)]
period-connect which specifies the period we do connect statistics

13 years agoAllow client-ip to be logged for each log entry. Speciy
Adam Dickmeiss [Thu, 6 Apr 2006 12:04:18 +0000 (12:04 +0000)]
Allow client-ip to be logged for each log entry. Speciy
<log>client-ip</log> in the configuration.

13 years agoDescribe target-charset. Reorder reference a bit.
Adam Dickmeiss [Thu, 6 Apr 2006 10:30:16 +0000 (10:30 +0000)]
Describe target-charset. Reorder reference a bit.

13 years agoUpdated NEWS
Adam Dickmeiss [Thu, 6 Apr 2006 01:28:07 +0000 (01:28 +0000)]
Updated NEWS

13 years agoAdd css/pdf to mime types
Adam Dickmeiss [Thu, 6 Apr 2006 01:20:02 +0000 (01:20 +0000)]
Add css/pdf to mime types

13 years agoImplement search limit (<limit><search>n</search></limit>).
Adam Dickmeiss [Thu, 6 Apr 2006 01:16:54 +0000 (01:16 +0000)]
Implement search limit (<limit><search>n</search></limit>).
Implement connect limit -- which results in delay. This complements
the connect max -- which blocks out a client completely.
Clean up file access using docpath configuration..
Documentation updates for these.

13 years agoFix test for RUNAS variable being non-empty
Adam Dickmeiss [Tue, 4 Apr 2006 20:52:04 +0000 (20:52 +0000)]
Fix test for RUNAS variable being non-empty

13 years agoFix path to usemarcon.m4 in DIST rule
Adam Dickmeiss [Thu, 30 Mar 2006 19:04:58 +0000 (19:04 +0000)]
Fix path to usemarcon.m4 in DIST rule

13 years agousemarcon moved to m4
Adam Dickmeiss [Thu, 30 Mar 2006 17:31:34 +0000 (17:31 +0000)]
usemarcon moved to m4

13 years agoUsing yazpp.m4 + yaz.m4 from m4 directory
Adam Dickmeiss [Thu, 30 Mar 2006 16:38:42 +0000 (16:38 +0000)]
Using yazpp.m4 + yaz.m4 from m4 directory

13 years agoEnable USE_AUTH_MSG again
Adam Dickmeiss [Thu, 30 Mar 2006 14:22:06 +0000 (14:22 +0000)]
Enable USE_AUTH_MSG again

13 years agoUse only sleep if unistd.h is defined
Adam Dickmeiss [Thu, 30 Mar 2006 14:19:19 +0000 (14:19 +0000)]
Use only sleep if unistd.h is defined

13 years agoWindows version of yazproxy
Adam Dickmeiss [Thu, 30 Mar 2006 14:16:34 +0000 (14:16 +0000)]
Windows version of yazproxy

13 years agoAllos Msg_Thread to operate in non-threaded mode
Adam Dickmeiss [Thu, 30 Mar 2006 13:29:23 +0000 (13:29 +0000)]
Allos Msg_Thread to operate in non-threaded mode

13 years agoIf connect-max is reached, connection is refused.
Adam Dickmeiss [Thu, 30 Mar 2006 11:59:34 +0000 (11:59 +0000)]
If connect-max is reached, connection is refused.

13 years agoImplement max-connect facility which makes the server sleep if a
Adam Dickmeiss [Thu, 30 Mar 2006 10:35:14 +0000 (10:35 +0000)]
Implement max-connect facility which makes the server sleep if a
certain number of connections has been initiated from a single IP.

13 years agoUpdate header. Copyright + yazproxy name
Adam Dickmeiss [Thu, 30 Mar 2006 10:31:17 +0000 (10:31 +0000)]
Update header. Copyright + yazproxy name

13 years agoList more dependencies
Adam Dickmeiss [Thu, 30 Mar 2006 07:46:09 +0000 (07:46 +0000)]
List more dependencies

13 years agoDescribe target-authentication.
Adam Dickmeiss [Wed, 29 Mar 2006 18:09:01 +0000 (18:09 +0000)]
Describe target-authentication.

13 years agoUse yazpp rather than yaz++.
Adam Dickmeiss [Wed, 29 Mar 2006 13:33:45 +0000 (13:33 +0000)]
Use yazpp rather than yaz++.

13 years agoMove to automake 1.8/1.9
Adam Dickmeiss [Tue, 28 Mar 2006 20:00:15 +0000 (20:00 +0000)]
Move to automake 1.8/1.9

13 years agoNew directive default-client-charset which serves as charset
Adam Dickmeiss [Sat, 25 Mar 2006 10:59:14 +0000 (10:59 +0000)]
New directive default-client-charset which serves as charset
to be negotiated if client does NOT supports one.
Added HTTP authentication support.
Proxy re-uses connections - even for authenticated sessions.. As
long as authentication matches previous session.

13 years agoNew Helsinki University Module. By Ere Maijala
Adam Dickmeiss [Sat, 25 Mar 2006 10:56:28 +0000 (10:56 +0000)]
New Helsinki University Module. By Ere Maijala

13 years agoEnable shared for debug development
Adam Dickmeiss [Thu, 9 Mar 2006 14:14:06 +0000 (14:14 +0000)]
Enable shared for debug development

13 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.

13 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

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

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

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

13 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.

13 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

13 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, ..).

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

14 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

14 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

14 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

14 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

14 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'

14 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

14 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

14 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.

14 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).

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

14 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

14 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.

14 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