Changeset 9085f5b in mod_gnutls


Ignore:
Timestamp:
Mar 15, 2010, 4:48:49 PM (10 years ago)
Author:
Nokis Mavrogiannopoulos <nmav@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, msva, upstream
Children:
d02158b
Parents:
dcf1118
git-author:
Nikos Mavrogiannopoulos <nmav@…> (03/15/10 16:48:49)
git-committer:
Nokis Mavrogiannopoulos <nmav@…> (03/15/10 16:48:49)
Message:

Corrected issue with firefox and long post data (had to do
with read function not handling EAGAIN and EINTR correctly).

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • NEWS

    rdcf1118 r9085f5b  
    1 ** Version 0.5.5 (unreleased)
     1** Version 0.5.6
     2- Corrected issue with firefox and long POST data (by
     3  handling EINTR and EAGAIN errors in read).
     4
     5- Added support for chained client certificates
     6
     7- Corrected more issues related to double frees
     8http://issues.outoforder.cc/view.php?id=102
     9
     10** Version 0.5.5 (2009-06-13)
    211
    312- Removed limits on CA certificate loading. Reported by
    413  Sander Marechal and Jack Bates.
     14
     15- Do not allow sending empty TLS packets even when instructed to.
     16  This had the side effect of clients closing connection.
    517
    618** Version 0.5.4 (2009-01-04)
  • configure.ac

    rdcf1118 r9085f5b  
    11dnl
    2 AC_INIT(mod_gnutls, 0.5.4)
     2AC_INIT(mod_gnutls, 0.5.5)
    33OOO_CONFIG_NICE(config.nice)
    44MOD_GNUTLS_VERSION=AC_PACKAGE_VERSION
  • src/gnutls_io.c

    rdcf1118 r9085f5b  
    671671        if (APR_STATUS_IS_EAGAIN(rc) || APR_STATUS_IS_EINTR(rc)
    672672            || (rc == APR_SUCCESS && APR_BRIGADE_EMPTY(ctxt->input_bb))) {
    673             return 0;
    674         }
     673           
     674            if (APR_STATUS_IS_EOF(ctxt->input_rc)) {
     675                return 0;
     676            } else {
     677                gnutls_transport_set_errno(ctxt->session, EINTR);
     678                return -1;
     679            }
     680        }
     681       
    675682
    676683        if (rc != APR_SUCCESS) {
     
    690697    if (APR_STATUS_IS_EAGAIN(ctxt->input_rc)
    691698        || APR_STATUS_IS_EINTR(ctxt->input_rc)) {
     699        if (len == 0) {
     700            gnutls_transport_set_errno(ctxt->session, EINTR);
     701            return -1;
     702        }
     703
    692704        return (ssize_t) len;
    693705    }
Note: See TracChangeset for help on using the changeset viewer.