Changeset 132eadc in mod_gnutls for src/gnutls_hooks.c


Ignore:
Timestamp:
May 25, 2020, 1:48:25 PM (16 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_hooks.c

    r72b0853 r132eadc  
    12181218    /* Set pull, push & ptr functions */
    12191219    gnutls_transport_set_pull_function(ctxt->session,
    1220             mgs_transport_read);
     1220                                       mgs_transport_read);
     1221    gnutls_transport_set_pull_timeout_function(ctxt->session,
     1222                                               mgs_transport_read_ready);
    12211223    gnutls_transport_set_push_function(ctxt->session,
    1222             mgs_transport_write);
     1224                                       mgs_transport_write);
    12231225    gnutls_transport_set_ptr(ctxt->session, ctxt);
    12241226    /* Add IO filters */
Note: See TracChangeset for help on using the changeset viewer.