Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

POST requests arrive late to ISAPI

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  WEB-FARM  
Author Message
Sruli

External


Since: Aug 21, 2005
Posts: 3



(Msg. 1) Posted: Tue Feb 07, 2006 12:39 am
Post subject: POST requests arrive late to ISAPI
Archived from groups: microsoft>public>platformsdk>internet>server>isapi-dev, others (more info?)

Hi,

I have an ISAPI application running in IIS 5 and 6. For each POST
request, HttpExtensionProc starts a worker thread, and returns
HSE_STATUS_PENDING so it handle other requests.

Sometimes a of the worker threads does a long and busy task that might
take 1-2 minutes (e.g., read a 1GB file and caclulate its CRC).
In this case it first responds to the client and then does the long
task asyncronously.

I found that during this time, if the client machine sends a second
POST to this server using the same connection (open socket), ISAPI does
NOT receive this POST until the long operation is done.

I wonder why ISAPI does not receive the second POST, and if there any
way to fix it. The other POST are important for the client to know the
progress of the server's long operation.

Thanks in advance

Sruli Ganor

 >> Stay informed about: POST requests arrive late to ISAPI 
Back to top
Login to vote
Sruli

External


Since: Aug 21, 2005
Posts: 3



(Msg. 2) Posted: Thu Feb 09, 2006 6:59 am
Post subject: Re: POST requests arrive late to ISAPI [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

You are right. I didn't call DONE_WITH_SESSION before starting the long
operation.
Now it's working fine.

Many thanks

Sruli

 >> Stay informed about: POST requests arrive late to ISAPI 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
ISAPI filter to post-process requests - We are trying to write an ISAPI filter to do post processing of requests. Here are the requirements of our filter: 1. It needs to hold (blocking) all information until it receives the entire request (headers, server variables, document body, post..

Re3: HTTP 405 when using POST requests - POST requests are finally working. I've disabled write access for all the web site's properties. I've also checked MIME global settings. I found out I have .php and .phtml files associated as text/html. After I removed those associations, POST reques...

HTTP 405 when using POST requests - Hello, My server is: Windows 2000 Advanced, SP4 IIS 5 PHP 4.3.4 installed as an CGI extension I'm getting HTTP 405 "Resource not allowed" error when using a form with a "POST" method. "GET" method works well, ...

POST requests fail under stress - Im running some stress tests for my .net application. When I have more than one user trying to POST data back to the same page, the POST request fails. Is there any setting in IIS that could be causing the problem? Does any one of any tips for..

Log file: POST requests missing - In my log file only the GET requests are recorded. Any POST requests are ignored. It must be a very simple solution (on a second server that seems to be configured identically it works fine) but I don't find it. Thank you in advance for your hints. ..
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]