Changeset 132eadc in mod_gnutls for src/gnutls_io.h


Ignore:
Timestamp:
May 25, 2020, 1:48:25 PM (11 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
asyncio, master, proxy-ticket
Children:
15ce4db
Parents:
72b0853
Message:

Implement gnutls_pull_timeout_func

According to GnuTLS documentation it's required when using a custom
pull function. It's not called by the current mod_gnutls use of
GnuTLS, but the documentation on client-side resumption explicitly
mentions it as a requirement.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_io.h

    r72b0853 r132eadc  
    8484                            const void *buffer, size_t len);
    8585
     86/**
     87 * mgs_transport_read is called from GnuTLS check if data is available
     88 * on the underlying transport.
     89 *
     90 * @param ptr     transport pointer, the mod_gnutls connection context
     91 * @param ms      maximum time to wait in milliseconds
     92 * @return GnuTLS requirement: "The callback should return 0 on
     93 *      timeout, a positive number if data can be received, and -1 on
     94 *      error."
     95 */
     96int mgs_transport_read_ready(gnutls_transport_ptr_t ptr,
     97                             unsigned int ms);
     98
    8699int mgs_reauth(mgs_handle_t * ctxt, request_rec *r);
    87100
Note: See TracChangeset for help on using the changeset viewer.