Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@locus.apache.org Received: (qmail 5792 invoked from network); 10 Dec 2007 18:01:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Dec 2007 18:01:26 -0000 Received: (qmail 17565 invoked by uid 500); 10 Dec 2007 18:01:14 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 17549 invoked by uid 500); 10 Dec 2007 18:01:14 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 17540 invoked by uid 99); 10 Dec 2007 18:01:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Dec 2007 10:01:14 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [208.22.56.48] (HELO njclavin2.bloomberg.net) (208.22.56.48) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Dec 2007 18:01:13 +0000 Received: from p057 ([172.17.163.13] [172.17.163.13]) by njclavin2.bloomberg.net for modules-dev@httpd.apache.org; Mon, 10 Dec 2007 13:00:51 -0500 From: "SAILESH KRISHNAMURTI, BLOOMBERG/ 731 LEXIN" To: modules-dev@httpd.apache.org Message-Id: <2960_7724_1197309651_24@inet3p057p> MIME-Version: 1.0 X-BLP-GUID: 475D7ED3000006CA00392D2A0000 Subject: =?UTF-8?B?RndkOlJlOiBodHRwLXJlZGlyZWN0IHVybCBnZXRzIGNvcnJ1cHRlZCBpbiByZXF1ZXN0X3JlYyAtIGFwYWNo?= Content-Type: text/plain; charset="UTF-8" Date: Mon, 10 Dec 2007 13:00:51 -0500 Sender: skrishnamur1@bloomberg.net X-Virus-Checked: Checked by ClamAV on apache.org could it also have somthing to do with the way '/'s are handled in 64bit versus 32 bit env. If my memory is right, these characters always seem to start from the '/' position. ----- Original Message ----- From: Sailesh Krishnamurti To: modules-dev@httpd.apache.org At: 12/10 12:51:35 just finished trying that. Same result still seems to have the same garbage characters. Is there any other debugging technique we can try. Can we force nulll termination of strings. Are we sure it is a non-null terminated string issue, since the characters are occuring in the begining of the string. In the past, I think I have noticed them occuring in the middle also ... ----- Original Message ----- From: Joe Lewis To: modules-dev@httpd.apache.org At: 12/10 12:05:00 SAILESH KRISHNAMURTI, BLOOMBERG/ 731 LEXIN wrote: > Gotccha, heres what the relevant hook info > static void someModule_register_hooks (apr_pool_t * p) > { > ap_hook_post_config (Some_init_method, NULL, NULL, APR_HOOK_MIDDLE); > ap_hook_check_user_id (SomeMethod, NULL, NULL, APR_HOOK_MIDDLE); > ap_hook_auth_checker (SomeMethod, NULL, NULL, APR_HOOK_MIDDLE); > ap_hook_access_checker (SomeMethod, NULL, NULL, APR_HOOK_MIDDLE); > } Looks like its all using HOOK_MIDLE. You mentioned using ap_hook_insert_error_filter. Is it okay to use something that talks of inserting a filter into a module, since modules and filters are supposed to be distinct animals. This could just be a novice question, but just thought Id clarify beforehand. I only inserted the example register hook function in because you had not answered the question for what kind of hook was being used (and until we know, we can only guess). Try changing APR_HOOK_MIDDLE to APR_HOOK_LAST, recompile/install, and see if that changes what you see in the log files. Joe P.S. - "Top posting" isn't very effective - it makes following the e-mail thread that much more difficult. Try posting your responses after the necessary text to which you are replying. -- Joseph Lewis "Divide the fire, and you will sooner put it out." - Publius Syrus