Re: [twsocket] HttpCli Request in Sync mode

2018-09-11 Thread Angus Robertson - Magenta Systems Ltd
> In thread mode, the DoRequestSync of httpcli and sslhttpcli will > spend more than 1000ms to wait for the http state chage, i think > the reason is the MsgWaitForMultipleObjects dont get QS_ALLINPUT > event in thread mode, I rarely use threaded mode for ICS components, except blocking stuff

[twsocket] HttpCli Request in Sync mode

2018-09-07 Thread spanfkyous
Hi, In thread mode, the DoRequestSync of httpcli and sslhttpcli will spend more than 1000ms to wait for the http state chage, i think the reason is the MsgWaitForMultipleObjects dont get QS_ALLINPUT event in thread mode, I changed the code as below, MsgWaitForMultipleObjects will be triggered