Changeset 9db4dcd in mod_gnutls for src/gnutls_io.h


Ignore:
Timestamp:
Jan 21, 2020, 3:24:32 PM (11 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
asyncio, master, proxy-ticket
Children:
fcad37b
Parents:
4a22ee6
Message:

Handle GNUTLS_E_GOT_APPLICATION_DATA on gnutls_reauth()

Pending application data is cached in the connection input buffer, so
repeated attempts won't cause more memory allocations. If the buffer
is too small HTTP_REQUEST_ENTITY_TOO_LARGE is sent to the client.

The reauthentication test now contains a POST request so this code
path may (!) be taken during the test suite run.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_io.h

    r4a22ee6 r9db4dcd  
    8484                            const void *buffer, size_t len);
    8585
    86 int mgs_reauth(mgs_handle_t * ctxt);
     86int mgs_reauth(mgs_handle_t * ctxt, request_rec *r);
    8787
    8888#endif /* __MOD_GNUTLS_IO_H__ */
Note: See TracChangeset for help on using the changeset viewer.