rem: if (!soap_tag_cmp(val, "chunked*"))
add: if (!soap_tag_cmp(val, "chunked"))
context: http_parse_header(struct soap *soap, const char *key, const char *val){ if (!soap_tag_cmp(key, "Host"))  {#ifdef WITH_OPENSSL    if (soap->imode & SOAP_ENC_SSL)      strcpy(soap->endpoint, "https://");    else#endif    strcpy(soap->endpoint, "http://");    strncat(soap->endpoint, val, sizeof(soap->endpoint) - 8);    soap->endpoint[sizeof(soap->endpoint) - 1] = '\0';  }  else if (!soap_tag_cmp(key, "Content-Type"))  { if (!soap_tag_cmp(val, "*application/dime*"))      soap->mode |= SOAP_ENC_DIME;  }  else if (!soap_tag_cmp(key, "Content-Length"))    soap->length = soap_strtoul(val, NULL, 10);  else if (!soap_tag_cmp(key, "Content-Encoding"))  { if (!soap_tag_cmp(val, "deflate*"))#ifdef WITH_ZLIB      soap->zlib_in = SOAP_ZLIB_DEFLATE;#else      return SOAP_ZLIB_ERROR;#endif    else if (!soap_tag_cmp(val, "gzip*"))#ifdef WITH_GZIP      soap->zlib_in = SOAP_ZLIB_GZIP;#else      return SOAP_ZLIB_ERROR;#endif  }#ifdef WITH_ZLIB  else if (!soap_tag_cmp(key, "Accept-Encoding"))  {#ifdef WITH_GZIP    if (strchr(val, '*') || !soap_tag_cmp(val, "*gzip*"))      soap->zlib_out = SOAP_ZLIB_GZIP;    else#endif    if (strchr(val, '*') || !soap_tag_cmp(val, "*deflate*"))      soap->zlib_out = SOAP_ZLIB_DEFLATE;    else      soap->zlib_out = SOAP_ZLIB_NONE;  }#endif  else if (!soap_tag_cmp(key, "Transfer-Encoding"))  { soap->mode &= ~SOAP_IO;    if (!soap_tag_cmp(val, "chunked*"))      soap->mode |= SOAP_IO_CHUNK;  }  else if (!soap_tag_cmp(key, "Connection"))  { if (!soap_tag_cmp(val, "keep-alive*"))      soap->keep_alive = -soap->keep_alive;    else if (!soap_tag_cmp(val, "close*"))      soap->keep_alive = 0;  }#ifndef WITH_LEAN  else if (!soap_tag_cmp(key, "Authorization"))  { if (!soap_tag_cmp(val, "basic *"))    { size_t n;      char *s;      soap_base642s(soap, val + 6, soap->tmpbuf, sizeof(soap->tmpbuf) - 1, &n);      soap->tmpbuf[n] = '\0';      if ((s = strchr(soap->tmpbuf, ':')))      { *s = '\0';	soap->userid = soap_strdup(soap, soap->tmpbuf);	soap->passwd = soap_strdup(soap, s + 1);      }    }  }#endif  else if (!soap_tag_cmp(key, "SOAPAction"))  { if (val[0] && val[1])    { soap->action = soap_strdup(soap, val + 1);      soap->action[strlen(soap->action) - 1] = '\0';    }  }/* [ Deal with .NET bug (invalid XML id-ref) */  else if (!soap_tag_cmp(key, "Server"))  { if (!soap_tag_cmp(val, "Microsoft-IIS*"))      soap->dot_net_bug = 1;  }  else if (!soap_tag_cmp(key, "User-Agent"))  { if (!soap_tag_cmp(val, "*.NET CLR*") || !soap_tag_cmp(val, "*MS Web Services Client Protocol*"))      soap->dot_net_bug = 1;  }/* ] */#ifdef WITH_COOKIES  else if (!soap_tag_cmp(key, "Cookie") || !soap_tag_cmp(key, "Set-Cookie"))    soap_getcookies(soap, val);#endif  return SOAP_OK;}