Changeset 99196d9 in mod_gnutls


Ignore:
Timestamp:
Jan 16, 2020, 12:38:58 PM (5 weeks ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
master
Children:
ee2854b
Parents:
a9e0738
Message:

Reauthentication: Much simpler check for HTTP/2

Integer comparison instead of strcmp(), quite nice! :-)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_hooks.c

    ra9e0738 r99196d9  
    14621462                return rv;
    14631463
    1464             if (strcmp(r->protocol, HTTP2_PROTOCOL) == 0)
     1464            if (r->proto_num == HTTP_VERSION(2, 0))
    14651465            {
    14661466                ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r,
Note: See TracChangeset for help on using the changeset viewer.