Added cs_get_SSL. yaz-client-ssl prints peer info
[yaz-moved-to-github.git] / src / zget.c
index 29fedc6..402094e 100644 (file)
@@ -1,9 +1,8 @@
 /*
- * Copyright (c) 1995-2003, Index Data.
+ * Copyright (c) 1995-2004, Index Data.
  * See the file LICENSE for details.
- * Sebastian Hammer, Adam Dickmeiss
  *
- * $Id: zget.c,v 1.2 2003-11-27 15:37:23 adam Exp $
+ * $Id: zget.c,v 1.4 2004-02-15 07:19:42 adam Exp $
  */
 
 #include <yaz/proto.h>
@@ -26,8 +25,8 @@ Z_InitRequest *zget_InitRequest(ODR o)
     ODR_MASK_SET(r->protocolVersion, Z_ProtocolVersion_1);
     ODR_MASK_SET(r->protocolVersion, Z_ProtocolVersion_2);
 
-    r->preferredMessageSize = odr_intdup(o, 30*1024);
-    r->maximumRecordSize = odr_intdup(o, 30*1024);
+    r->preferredMessageSize = odr_intdup(o, 1024*1024);
+    r->maximumRecordSize = odr_intdup(o, 1024*1024);
     r->idAuthentication = 0;
     r->implementationId = "81";
     r->implementationName = "YAZ";
@@ -57,7 +56,7 @@ Z_InitResponse *zget_InitResponse(ODR o)
     r->maximumRecordSize = odr_intdup(o, 30*1024);
     r->result = odr_intdup(o, 1);
     r->implementationId = "81";
-    r->implementationName = "Index Data/YAZ";
+    r->implementationName = "YAZ";
     r->implementationVersion = YAZ_VERSION
 #ifdef YAZ_DATE_STR
     " (" YAZ_DATE_STR ")"