5 Dec
2022
5 Dec
'22
6:02 a.m.
Hans Leidekker (@hans) commented about dlls/winhttp/tests/notification.c:
if (err == ERROR_SUCCESS) context->have_sync_callback = TRUE; InterlockedDecrement( &context->recursion_count ); break; + case WINHTTP_CALLBACK_STATUS_RECEIVING_RESPONSE: + case WINHTTP_CALLBACK_STATUS_RESPONSE_RECEIVED: + if (context->headers_available) + break; + if (context->headers_available) + ok( GetCurrentThreadId() == context->main_thread_id, + "expected callback to be called from the same thread, got %lx.\n", GetCurrentThreadId() );
This is probably not what you meant... -- https://gitlab.winehq.org/wine/wine/-/merge_requests/1582#note_18628