nglayout - clear the transfer encoding field in the url_s before doing a redirect so it doesn't interfer with the redirecting url stream selection

This commit is contained in:
valeski%netscape.com 1998-08-11 05:19:03 +00:00
Родитель 0f09a8eff7
Коммит c24fb74738
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -2607,6 +2607,10 @@ net_setup_http_stream(ActiveEntry * ce)
}
PR_FREEIF(ce->URL_s->content_encoding);
ce->URL_s->content_encoding = NULL;
#ifdef MODULAR_NETLIB
PR_FREEIF(ce->URL_s->transfer_encoding);
ce->URL_s->transfer_encoding=NULL;
#endif /* MODULAR_NETLIB */
ce->URL_s->content_length = 0; /* reset */
ce->URL_s->real_content_length = 0; /* reset */
ce->URL_s->last_modified = 0; /* reset */