[Wine] wininet not sending Content-Length: in header (http 411 error)

Adam Gibson agibson at ptm.com
Tue Jun 13 09:25:13 CDT 2006


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



More information about the wine-users mailing list