[PATCH] add test on host value of InternetConnectW

Hao Peng penghao at linuxdeepin.com
Tue Nov 24 07:02:39 CST 2015


Add a test on giving host value of InternetConnectionW.

Some App fill host param with port number when calling InternetConnectionW. it will still operate successfull on system brove windows 2000.

I tested to connect to [www.winehq.org], but I got GetLastError with 2 on WinXP and Win2003, other systems were fine.
(See https://testbot.winehq.org/JobDetails.pl?Key=18484)
All fine when I tested to connecting to [www.bing.com].
(https://testbot.winehq.org/JobDetails.pl?Key=18482)
And I didn't get what happened.

I plan to send a patch to fix this later.

Any comments are welcome.

Signed-off-by: Hao Peng <penghao at linuxdeepin.com>
---
 dlls/wininet/tests/http.c | 49 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-add-test-on-host-value-of-InternetConnectW.txt
Type: application/octet-stream
Size: 2702 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20151124/fe08006a/attachment-0001.obj>


More information about the wine-patches mailing list