X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Fseshigh.c;h=1d709aac0a83c844701674569c3227170b527d29;hb=5bfd14747afb35c8009f9d6eb960c1b887717cab;hp=e739d3a388bdcab55e268daa58bf45ae537662f1;hpb=b637f5d4f5d2aea0fba9a338da386e62a10dfd00;p=yaz-moved-to-github.git diff --git a/src/seshigh.c b/src/seshigh.c index e739d3a..1d709aa 100644 --- a/src/seshigh.c +++ b/src/seshigh.c @@ -227,10 +227,6 @@ void destroy_association(association *h) request_delq(&h->outgoing); xfree(h); xmalloc_trav("session closed"); - if (cb && cb->one_shot) - { - exit(0); - } } static void do_close_req(association *a, int reason, char *message, @@ -544,6 +540,9 @@ static int srw_bend_init(association *assoc, Z_SRW_diagnostic **d, int *num, Z_S len = strlen(sr->username) + 1; if (sr->password) len += strlen(sr->password) + 2; + yaz_log(log_requestdetail, "username=%s password-len=%ld", + sr->username, (long) + (sr->password ? strlen(sr->password) : 0)); auth->which = Z_IdAuthentication_open; auth->u.open = (char *) odr_malloc(assoc->decode, len); strcpy(auth->u.open, sr->username);