urlmon: Correctly handle INTERNET_STATUS_REDIRECT.
This commit is contained in:
parent
613ebdc8b4
commit
840c52acb9
|
@ -17,11 +17,6 @@
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
|
||||||
* TODO:
|
|
||||||
* - Handle redirects as native.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "urlmon_main.h"
|
#include "urlmon_main.h"
|
||||||
#include "wininet.h"
|
#include "wininet.h"
|
||||||
|
|
||||||
|
|
|
@ -151,6 +151,11 @@ static void WINAPI internet_status_callback(HINTERNET internet, DWORD_PTR contex
|
||||||
report_progress(protocol, BINDSTATUS_SENDINGREQUEST, (LPWSTR)status_info);
|
report_progress(protocol, BINDSTATUS_SENDINGREQUEST, (LPWSTR)status_info);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case INTERNET_STATUS_REDIRECT:
|
||||||
|
TRACE("%p INTERNET_STATUS_REDIRECT\n", protocol);
|
||||||
|
report_progress(protocol, BINDSTATUS_REDIRECTING, (LPWSTR)status_info);
|
||||||
|
break;
|
||||||
|
|
||||||
case INTERNET_STATUS_REQUEST_COMPLETE:
|
case INTERNET_STATUS_REQUEST_COMPLETE:
|
||||||
request_complete(protocol, status_info);
|
request_complete(protocol, status_info);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue