Detlef Schneider
2005-09-17 12:50:45 UTC
Hello out there,
I am using wininet with Win CE 4.20 on X86 platform (QFEs up to 08/2005) with
RAS over GPRS wireless connection.
In test-scenario I am using one connectionhandle from InternetOpen call with
INTERNET_FLAG_ASYNC set and one
sessionhandle from InternetConnect (HTTP port 80). Requesthandles are always
recycled via HttpOpen and
InternetCloseHandle. About 90% of the requests ar well, for the lasting 10%
HttpSendRequest will not return.
The states from async-callback are in normal:
INTERNET_STATUS_SENDING_REQUEST
INTERNET_STATUS_REQUEST_SENT (224 bytes)
INTERNET_STATUS_RECEIVING_RESPONSE
INTERNET_STATUS_RESPONSE_RECEIVED (308 bytes)
INTERNET_STATUS_INTERMEDIATE_RESPONSE
INTERNET_STATUS_REQUEST_COMPLETE
I also get something like that (OK too):
INTERNET_STATUS_SENDING_REQUEST
INTERNET_STATUS_REQUEST_SENT (224 bytes)
INTERNET_STATUS_RECEIVING_RESPONSE
INTERNET_STATUS_RESPONSE_RECEIVED (112 bytes)
INTERNET_STATUS_INTERMEDIATE_RESPONSE
INTERNET_STATUS_RECEIVING_RESPONSE
INTERNET_STATUS_RESPONSE_RECEIVED (196 bytes)
INTERNET_STATUS_REQUEST_COMPLETE
the error-case:
INTERNET_STATUS_SENDING_REQUEST
INTERNET_STATUS_REQUEST_SENT (224 bytes)
INTERNET_STATUS_RECEIVING_RESPONSE
INTERNET_STATUS_RESPONSE_RECEIVED (112 bytes)
INTERNET_STATUS_INTERMEDIATE_RESPONSE
INTERNET_STATUS_RECEIVING_RESPONSE
...nothing more...
I have to InternetCloseHandle to end the Request. But in all surveilled cases,
the server has received the data
and answered correct - I checked this with network monitor on server-side.
I never realized the problem over local LAN (without RAS), but sniffing
RAS-PPP/RS232 between modem (Siemens MC35i)
and CE-device seems to indicate, that all data reach the device.
Where to look further? Is it a problem within wininet or a problem with RAS?
How to detect, where the problem is
(both cadidates are somewhat like 'black-boxes')?
Regards,
Detlef Schneider
I am using wininet with Win CE 4.20 on X86 platform (QFEs up to 08/2005) with
RAS over GPRS wireless connection.
In test-scenario I am using one connectionhandle from InternetOpen call with
INTERNET_FLAG_ASYNC set and one
sessionhandle from InternetConnect (HTTP port 80). Requesthandles are always
recycled via HttpOpen and
InternetCloseHandle. About 90% of the requests ar well, for the lasting 10%
HttpSendRequest will not return.
The states from async-callback are in normal:
INTERNET_STATUS_SENDING_REQUEST
INTERNET_STATUS_REQUEST_SENT (224 bytes)
INTERNET_STATUS_RECEIVING_RESPONSE
INTERNET_STATUS_RESPONSE_RECEIVED (308 bytes)
INTERNET_STATUS_INTERMEDIATE_RESPONSE
INTERNET_STATUS_REQUEST_COMPLETE
I also get something like that (OK too):
INTERNET_STATUS_SENDING_REQUEST
INTERNET_STATUS_REQUEST_SENT (224 bytes)
INTERNET_STATUS_RECEIVING_RESPONSE
INTERNET_STATUS_RESPONSE_RECEIVED (112 bytes)
INTERNET_STATUS_INTERMEDIATE_RESPONSE
INTERNET_STATUS_RECEIVING_RESPONSE
INTERNET_STATUS_RESPONSE_RECEIVED (196 bytes)
INTERNET_STATUS_REQUEST_COMPLETE
the error-case:
INTERNET_STATUS_SENDING_REQUEST
INTERNET_STATUS_REQUEST_SENT (224 bytes)
INTERNET_STATUS_RECEIVING_RESPONSE
INTERNET_STATUS_RESPONSE_RECEIVED (112 bytes)
INTERNET_STATUS_INTERMEDIATE_RESPONSE
INTERNET_STATUS_RECEIVING_RESPONSE
...nothing more...
I have to InternetCloseHandle to end the Request. But in all surveilled cases,
the server has received the data
and answered correct - I checked this with network monitor on server-side.
I never realized the problem over local LAN (without RAS), but sniffing
RAS-PPP/RS232 between modem (Siemens MC35i)
and CE-device seems to indicate, that all data reach the device.
Where to look further? Is it a problem within wininet or a problem with RAS?
How to detect, where the problem is
(both cadidates are somewhat like 'black-boxes')?
Regards,
Detlef Schneider