зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
0f09a8eff7
Коммит
c24fb74738
|
@ -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 */
|
||||
|
|
Загрузка…
Ссылка в новой задаче