http://bugs.winehq.org/show_bug.cgi?id=31051
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
--- Comment #5 from Sebastian Lackner sebastian@fds-team.de --- Bruno pointed me to this bug report while I was working on a similar one: http://bugs.winehq.org/show_bug.cgi?id=20497 (dwIndex is incremented, even if the function fails with ERROR_INSUFFICIENT_BUFFER).
I think most of the issues mentioned in this bug should already be fixed:
* Current versions of wine indeed pay attention to the passed dwIndex value * They also return ERROR_HTTP_HEADER_NOT_FOUND if the header was not found
Could you guys please retest with a current version of wine?