help with IIS 10 64bit isapi filter

help with IIS 10 64bit isapi filter

I have updated a old (10 years ago or more) IIS isapi filter. At the time I was using the ver. 2 of httpfilt.h headers.

Now I have used many third party units ver.4 of httpfilt.h conversions.
Finally I have done a conversion by hand of ver.7 httpfilt.h (IIS 7 win 2008 and following). I have seen that the httpfilt.h has a pair of errors where it's using pointer64bit instead should be used plain out dword 32 bit in a pair of API call. It runs.

But now the problem.

With the old filter the http_send_response->getheader on sf_notify_send_response was correctly returning the "content-length" and other headers.

Now with IIS10, 64bit, the call always returns empty buffer (also "ALL_RAW" returns empty), but some other as "http_accept" variable are returned.

I have done also an update with the UNICODE_ version with PWideChar as msdn doc .
The result is always empty returns of "Content-length" "ALL_RAW" and other headers,
both with isapi4, both with isapi ver 7.

Now, can somebody help me, can you try a basic isapifilter 64bit using IIS10 over a .aspx hello world? I can pay your time if you can correct the problem.

Please catch me -> rdp AT dellapasqua.com

THANKS SO MUCH

Btw. these are the headers of the server answer of a hello world aspx:
Cache-Control:private
Content-Length:111
Content-Type:text/html; charset=utf-8
Date:Wed, 09 Aug 2017 16:06:18 GMT
Server:Microsoft-IIS/10.0
X-AspNet-Version:4.0.30319
X-Powered-By:ASP.NET

http://dellapasqua.com

Comments

  1. Finally: is a new behavior by design of IIS 10, differently from previous IIS, simply some headers aren't catched anymore...thanks to Ondrey

    ReplyDelete

Post a Comment