Ignore:
Timestamp:
09/21/17 12:15:31 (3 years ago)
Author:
kjdon
Message:

duplicate the content encoding value in case the original gets wiped over somewhere else

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/src/recpt/mod_gsdl.cpp

    r25560 r31979  
    491491      ap_set_content_type(r, val_copy);
    492492#endif
    493     } else if ((*here).first == "content-encoding") {
    494       r->content_encoding = val;
    495     } else {
     493    }
     494    else if ((*here).first == "content-encoding") {
     495      r->content_encoding = strdup(val);
     496    }
     497    else {
    496498#if _APACHE_MOD >= 2
    497499      apr_table_set(r->headers_out, name, val);
Note: See TracChangeset for help on using the changeset viewer.