Changeset 7bebb42 in mod_gnutls for src/gnutls_io.c


Ignore:
Timestamp:
Nov 28, 2007, 1:29:21 PM (12 years ago)
Author:
Nokis Mavrogiannopoulos <nmav@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, msva, upstream
Children:
3e6bc31
Parents:
8e33f2d
git-author:
Nikos Mavrogiannopoulos <nmav@…> (11/28/07 13:29:21)
git-committer:
Nokis Mavrogiannopoulos <nmav@…> (11/28/07 13:29:21)
Message:

upgraded to 0.4.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_io.c

    r8e33f2d r7bebb42  
    544544        if (AP_BUCKET_IS_EOC(bucket)) {
    545545            do {
    546                 ret = gnutls_alert_send(ctxt->session, GNUTLS_AL_FATAL,
    547                                         GNUTLS_A_CLOSE_NOTIFY);
     546                ret = gnutls_bye( ctxt->session, GNUTLS_SHUT_WR);
    548547            } while(ret == GNUTLS_E_INTERRUPTED || ret == GNUTLS_E_AGAIN);
    549548
     
    557556
    558557            apr_brigade_cleanup(ctxt->output_bb);
    559             gnutls_bye(ctxt->session, GNUTLS_SHUT_WR);
    560558            gnutls_deinit(ctxt->session);
    561559            continue;
     
    569567                return status;
    570568            }
     569
    571570            apr_brigade_cleanup(ctxt->output_bb);
    572571            continue;
     
    600599                             ctxt->c->base_server,
    601600                             "GnuTLS: Error writing data."
    602                              " (%d) '%s'", ret, gnutls_strerror(ret));
     601                             " (%d) '%s'", (int)ret, gnutls_strerror(ret));
    603602                if (ctxt->output_rc == APR_SUCCESS) {
    604603                    ctxt->output_rc = APR_EGENERAL;
Note: See TracChangeset for help on using the changeset viewer.