X-Git-Url: http://git.indexdata.com/?p=simpleserver-moved-to-github.git;a=blobdiff_plain;f=SimpleServer.pm;h=e77f78aea852d26382f9738297febf2aca83b12c;hp=06d1d3ed69844f6c401e3dfd3f9f5a427ddeefd2;hb=24a62ea74725255f3efd7e426b95f9594440ad3d;hpb=b253d10bee09bcce4b50b47bbe4b283ac8c63306 diff --git a/SimpleServer.pm b/SimpleServer.pm index 06d1d3e..e77f78a 100644 --- a/SimpleServer.pm +++ b/SimpleServer.pm @@ -1,5 +1,5 @@ ## -## Copyright (c) 2000, Index Data. +## Copyright (c) 2000-2004, Index Data. ## ## Permission to use, copy, modify, distribute, and sell this software and ## its documentation, in whole or in part, for any purpose, is hereby granted, @@ -26,7 +26,13 @@ ## ## $Log: SimpleServer.pm,v $ -## Revision 1.17 2003-09-09 11:40:10 mike +## Revision 1.19 2004-05-13 19:04:32 adam +## Bump year +## +## Revision 1.18 2003/09/09 20:12:38 mike +## Return diagnostics on Init failure +## +## Revision 1.17 2003/09/09 11:40:10 mike ## (Finally!) support implementation-ID ## ## Revision 1.16 2003/01/03 09:01:51 sondberg @@ -286,6 +292,7 @@ The argument hash passed to the init handler has the form IMP_NAME => "", ## Z39.50 Implementation name IMP_VER => "", ## Z39.50 Implementation version ERR_CODE => 0, ## Error code, cnf. Z39.50 manual + ERR_STR => "", ## Error string (additional info.) USER => "xxx" ## If Z39.50 authentication is used, ## this member contains user name PASS => "yyy" ## Under same conditions, this member @@ -308,7 +315,8 @@ Filling these in is optional. The ERR_CODE should be left at 0 (the default value) if you wish to accept the connection. Any other value is interpreted as a failure -and the client will be shown the door. +and the client will be shown the door, with the code and the +associated additional information, ERR_STR returned. =head2 Search handler