Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Users

POST message handling in 2.2.8 vs 2.2.9

 

 

Apache users RSS feed   Index | Next | Previous | View Threaded


tom.hickey at radiantsystems

Nov 3, 2009, 4:10 AM

Post #1 of 2 (101 views)
Permalink
POST message handling in 2.2.8 vs 2.2.9

Hello All,

This is the continuation of a thread that was titled "Increase Logging" but that doesn't seem to make much sense anymore so I am starting a new thread. The core of the problem is that my application sends a POST message which goes through the mod_isapi module to a MSFT ISAPI dll. What I have found is that in 2.2.8 the HTTP_IN and CORE_IN incoming filters are used on the message but in 2.2.9 only the CORE_IN filter is used and therefore the message does not get parsed into the buckets and sent out to the external DLL.
I can't seem to find anything in the CHANGES logs specific to this so thought I would send it out and see if anyone had any ideas why the HTTP_IN filter would not be added for this message.
Thanks.

Tom Hickey





---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


tom.hickey at radiantsystems

Nov 3, 2009, 8:10 AM

Post #2 of 2 (90 views)
Permalink
RE: POST message handling in 2.2.8 vs 2.2.9 [In reply to]

I was incorrect in my statement that the HTTP filter was not being added, error in my log statement. It actually is being added and the change affecting my application is here. Hopefully someone might be able explain why the change was made and perhaps offer a suggestion as to what I would need to change in my app to get things working again.
In http_filters.c, in the ap_http_filter() function, a changes was added around line 327 to check the status on the request, and based on this we might exit out when we check the value of eos_sent a bit later.

if (!ap_is_HTTP_SUCCESS(f->r->status)) {
ctx->state = BODY_NONE;
ctx->eos_sent = 1;
}

The status for my message is 0 and it appears that Apache is looking for something between 200 and 300. Could this have been done as one of the changes noted below?
*) http_filters: Don't return 100-continue on redirects. PR 43711
[Ruediger Pluem]
*) http_filters: Don't return 100-continue on client error
PR 43711 [Chetan Reddy <chetanreddy gmail.com>]

Tom

-----Original Message-----
From: Hickey, Tom [mailto:tom.hickey[at]radiantsystems.com]
Sent: Tuesday, November 03, 2009 7:10 AM
To: users[at]httpd.apache.org
Subject: [users[at]httpd] POST message handling in 2.2.8 vs 2.2.9

Hello All,

This is the continuation of a thread that was titled "Increase Logging" but that doesn't seem to make much sense anymore so I am starting a new thread. The core of the problem is that my application sends a POST message which goes through the mod_isapi module to a MSFT ISAPI dll. What I have found is that in 2.2.8 the HTTP_IN and CORE_IN incoming filters are used on the message but in 2.2.9 only the CORE_IN filter is used and therefore the message does not get parsed into the buckets and sent out to the external DLL.
I can't seem to find anything in the CHANGES logs specific to this so thought I would send it out and see if anyone had any ideas why the HTTP_IN filter would not be added for this message.
Thanks.

Tom Hickey





---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org

Apache users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.