Commit e8bff0b0 authored by Paul Querna's avatar Paul Querna
Browse files

Use a case insensitive compare when looking for 'Upgrade'.

The first client I tested was sending 'upgrade'.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@109447 13f79535-47bb-0310-9956-ffa450edef68
parent 2fd35e50
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1213,7 +1213,7 @@ static apr_status_t ssl_io_filter_Upgrade(ap_filter_t *f,

    token_string = apr_pstrdup(r->pool,connection);
    token = apr_strtok(token_string,",",&token_state);
    while (token && strcmp(token,"Upgrade")) {
    while (token && strcasecmp(token,"Upgrade")) {
        apr_strtok(NULL,",",&token_state);
    }
    /* "Connection: Upgrade" header not found, don't do Upgrade */