"Paul TBBle Hampson" <paul.hamp...@pobox.com> wrote:
+ if (strlenW(lpszStart)==0) + { + /* Skip 0-length headers */ + lpszStart = lpszEnd; + bSuccess = TRUE; + continue; + }
Instead of 'if (strlenW(lpszStart)==0)' it's much simpler to do 'if (!*lpszStart)', and move the fix to HTTP_InterpretHttpHeader(). -- Dmitry.