Adam Gibson
2006-Jun-13 09:25 UTC
[Wine] wininet not sending Content-Length: in header (http 411 error)
Using an app that uses msinet.ocx. msinet is a dumbed down MS wrapper
for wininet and VB use. Running the app native on windows works but
when running it through wine 0.9.15 the server replies back with a 411
response. I tried http and https with the same result(decrypted the SSL
to make sure).
1 8 1150206672.2493 (0.0006) C>S application_data
---------------------------------------------------------------
POST /SomeScript.asp HTTP/1.0
Accept: image/gif
Host: renamed.to.hide.the.innocent
User-Agent: Microsoft URL Control - 6.00.8862
---------------------------------------------------------------
1 9 1150206672.2500 (0.0006) S>C application_data
---------------------------------------------------------------
HTTP/1.1 411 Length Required
Content-Type: text/html
Date: Tue, 13 Jun 2006 13:51:12 GMT
Connection: close
Content-Length: 24
<h1>Length
Required</h1>---------------------------------------------------------------
It would appear that wininet should have put the Content-Length in the
header. It does when running it on windows.
This sticks out in the wine console log but it might not be relevant.
fixme:wininet:NETCON_recv SSL_read does not support the following flag:
00000100
fixme:wininet:NETCON_recv SSL_read does not support the following flag:
00000100
fixme:wininet:NETCON_recv SSL_read does not support the following flag:
00000100
fixme:wininet:NETCON_recv SSL_read does not support the following flag:
00000100
Dan Kegel
2006-Jun-16 00:52 UTC
[Wine] re: wininet not sending Content-Length: in header (http 411 error)
Hi Adam, your report sounded interesting, so I filed a bug about it: http://bugs.winehq.org/show_bug.cgi?id=5444 I didn't confirm it, though. What's the simplest app that shows this problem? And is there one that's a free download? - Dan