/[Apache-SVN]/httpd/httpd/trunk/modules/filters/mod_deflate.c
ViewVC logotype

Diff of /httpd/httpd/trunk/modules/filters/mod_deflate.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 740149, Mon Feb 2 23:20:37 2009 UTC revision 741865, Sat Feb 7 09:25:28 2009 UTC
# Line 395  static void deflate_check_etag(request_r Line 395  static void deflate_check_etag(request_r
395      const char *etag = apr_table_get(r->headers_out, "ETag");      const char *etag = apr_table_get(r->headers_out, "ETag");
396      if ((etag && (strlen(etag) > 2))) {      if ((etag && (strlen(etag) > 2))) {
397          if (etag[0] == '"') {          if (etag[0] == '"') {
398              etag = apr_pstrndup(r->pool, etag, strlen(etag) - 2);              etag = apr_pstrndup(r->pool, etag, strlen(etag) - 1);
399              apr_table_set(r->headers_out, "ETag",              apr_table_set(r->headers_out, "ETag",
400                            apr_pstrcat(r->pool, etag, "-", transform, "\"", NULL));                            apr_pstrcat(r->pool, etag, "-", transform, "\"", NULL));
401          }          }

Legend:
Removed from v.740149  
changed lines
  Added in v.741865

apache@apache.org
ViewVC Help
Powered by ViewVC 1.1.2