RE: Increase Logging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks to all for your help up to now.  I have a code question and perhaps Eric you could help out again.  I am looking at the changes between 2.2.8 and 2.2.9. I have both built and have begun tracking down my issue but perhaps you could offer a little insight.
In mod_isapi.c, in the "apr_status_t isapi_handler (request_rec *r)" function the read of the data fails for my request in 2.2.9 while it is successful in 2.2.8.  Specifically this block

        while (read < cid->ecb->cbAvailable &&
               ((res = ap_get_client_block(r, (char*)cid->ecb->lpbData + read,
                                        cid->ecb->cbAvailable - read)) > 0)) {
            read += res;
        }

I have verified the following in both cases
r->remaining - has the same value
r->read_chunked - has the same value
cid->ecb->cbAvailable - allocated with the correct amount of memory

In 2.2.9 the read value = 0 whereas in 2.2.8 the read value = r->remaining

In looking at ap_get_client_block() we make our call to apr_brigade_flatten() which should read the value and fill the buffer but it returns an empty buffer size.  My suspicion is that the call in ap_get_client_block() to ap_get_brigade() is returning empty buckets but I am not sure what the r->input_filters is actually doing.
Any tips on troubleshooting this issue?  
Thanks.

Tom

-----Original Message-----
From: Eric Covener [mailto:covener@xxxxxxxxx] 
Sent: Tuesday, October 27, 2009 10:15 AM
To: users@xxxxxxxxxxxxxxxx
Subject: Re:  Increase Logging

On Tue, Oct 27, 2009 at 8:14 AM, Hickey, Tom
<tom.hickey> wrote:
> Any thoughts on what might have changed in 2.2.9 that would cause this type of behavior on a Windows system as there is nothing listed in the change log specific to windows?

If there was no matches to the httpd CHANGES, download both source
zips and look in srclib/apr/CHANGES to see if the bundeld APR had
anything interesting change.

-- 
Eric Covener
covener@xxxxxxxxx

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux