From modules-aburgess@example.net Wed Nov 01 21:50:25 2006 Return-Path: <modules-aburgess@example.net> Delivered-To: aburgess@example.net Received: (qmail 90124 invoked from network); 1 Nov 2006 21:50:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2006 21:50:24 -0000 Received: (qmail 48197 invoked by uid 500); 1 Nov 2006 21:50:35 -0000 Delivered-To: aburgess@example.net Received: (qmail 48038 invoked by uid 500); 1 Nov 2006 21:50:34 -0000 Mailing-List: contact aburgess@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aburgess@example.net> List-Unsubscribe: <mailto:aburgess@example.net> List-Post: <mailto:aburgess@example.net> List-Id: <modules-dev.httpd.apache.org> Reply-To: aburgess@example.net Delivered-To: mailing list aburgess@example.net Received: (qmail 48029 invoked by uid 99); 1 Nov 2006 21:50:34 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 13:50:34 -0800 X-ASF-Spam-Status: No, hits=2.3 required=10.0 tests=DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [83.161.120.155] (HELO router.ktorech.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 13:50:20 -0800 Received: from [83.161.120.155] (helo=localhost.localdomain) by router.ktorech.net with esmtp (Exim 4.50) id 1GfNy8-0004qm-Pc for aburgess@example.net; Wed, 01 Nov 2006 22:49:57 +0100 Received: from jeword by localhost.localdomain with local (Exim 4.63) (envelope-from <aburgess@example.net>) id 1GfNyB-0008OI-IV for aburgess@example.net; Wed, 01 Nov 2006 22:49:59 +0100 Date: Wed, 1 Nov 2006 22:49:59 +0100 From: Vlastimil Pavicek <aburgess@example.net> To: aburgess@example.net Message-ID: <20061101214959.GA32240@shi> Mail-Followup-To: aburgess@example.net References: <20061014092317.GA5420@shi> <aburgess@example.net> <20061014202046.GA13508@shi> <aburgess@example.net> <20061015214735.GA13526@shi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061015214735.GA13526@shi> X-ICQ: 316944760 User-Agent: Mutt/1.5.13 (2006-08-11) X-SA-Exim-Connect-IP: 83.161.120.155 X-SA-Exim-Mail-From: aburgess@example.net Subject: Re: Traversing the bucket brigade from last to first in the output filter X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on router.ktorech.net X-Spam-Level: X-SA-Exim-Version: 4.2 (built Thu, 03 Mar 2005 10:44:12 +0100) X-SA-Exim-Scanned: Yes (on router.ktorech.net) X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED autolearn=ham version=3.0.3 Thank to all for their effort, It seems like a bug in apache so I am going to commit it to bugzilla. Vlastimil Pavicek, CTU Prague From modules-aburgess@example.net Thu Nov 02 19:07:58 2006 Return-Path: <modules-aburgess@example.net> Delivered-To: aburgess@example.net Received: (qmail 2242 invoked from network); 2 Nov 2006 19:07:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Nov 2006 19:07:58 -0000 Received: (qmail 34967 invoked by uid 500); 2 Nov 2006 19:08:08 -0000 Delivered-To: aburgess@example.net Received: (qmail 34953 invoked by uid 500); 2 Nov 2006 19:08:08 -0000 Mailing-List: contact aburgess@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aburgess@example.net> List-Unsubscribe: <mailto:aburgess@example.net> List-Post: <mailto:aburgess@example.net> List-Id: <modules-dev.httpd.apache.org> Reply-To: aburgess@example.net Delivered-To: mailing list aburgess@example.net Received: (qmail 34943 invoked by uid 99); 2 Nov 2006 19:08:08 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Nov 2006 11:08:08 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=HTML_00_10,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of aburgess@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO py-out-1112.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Nov 2006 11:07:52 -0800 Received: by py-out-1112.google.com with SMTP id j37so154308pyc for <aburgess@example.net>; Thu, 02 Nov 2006 11:07:32 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=PZRzzBPESedXPNZe8XSeKLb7HTXIqrdlBMo4H7KYUPTHOwGHGAK+eSjeTaV5KAquepG4UXV1rtnEdKGlq+FBGGHBocbPG7nWNJ30vCE+dI3k7EaJoDBWeIdBiinzLwKKCzB7d92HjcZ4lIDWg89TCyPyxzOA1kLKhXZRxfqBhUg= Received: by 83.161.120.155 with SMTP id m20mr1491019pyn.1162494451997; Thu, 02 Nov 2006 11:07:31 -0800 (PST) Received: by 83.161.120.155 with HTTP; Thu, 2 Nov 2006 11:07:31 -0800 (PST) Message-ID: <aburgess@example.net> Date: Thu, 2 Nov 2006 12:07:31 -0700 From: "David Wortham" <aburgess@example.net> To: aburgess@example.net Subject: Data Structure Serialization MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_32355_18166029.1162494451956" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_32355_18166029.1162494451956 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I'd like to know if anyone developing modules has run across a struct-serialization function/library (in C, preferrably well tested with the APR and multiple (file|operating) systems). I am attempting to share data across child processes, but I have a few bugs in my serialization code. I'm really just looking for code that creates a buffer string from a struct and vice versa, but if it writes/reads to a file - all the better! I looked into the APR Shared Memory funtions, but it seems that developers can not agree that the shared memory library is well supported, hence my desire to write my own workaround. Also, I am having problems opening a new file. Perhaps there is a limit to the number of files allowed to be opened from the same pool or the same process? I have one file that opens in a given function. I need to open another file and close it about the same time: just before the end of the same function. I copy-pasted the code that correctly opens the first file but I am not seeing the second file open (it is never created, whereas the first file is created every time). The purpose of the files are to (1) trace the processing path and write to file the results of each conditional to file 1 and (2) dump the entire contents of the in-memory data structure to file 2. I am having a hard time reconsiling what child process has what requesting IP addresses stored in a recent-hit cache and these files seem like the only way to debug this. Any ideas for serialization or opening another file? Or even just debugging tips in general? Apache seems like a difficult environment to debug in seeing that my module is only deciding which requests to allow and which to deny (it is similar to mod_(dos_)evasive, but will allow the child processes to share cache data). Thanks, Dave ------=_Part_32355_18166029.1162494451956-- From modules-aburgess@example.net Thu Nov 02 20:32:51 2006 Return-Path: <modules-aburgess@example.net> Delivered-To: aburgess@example.net Received: (qmail 40383 invoked from network); 2 Nov 2006 20:32:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Nov 2006 20:32:50 -0000 Received: (qmail 824 invoked by uid 500); 2 Nov 2006 20:33:01 -0000 Delivered-To: aburgess@example.net Received: (qmail 796 invoked by uid 500); 2 Nov 2006 20:33:00 -0000 Mailing-List: contact aburgess@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aburgess@example.net> List-Unsubscribe: <mailto:aburgess@example.net> List-Post: <mailto:aburgess@example.net> List-Id: <modules-dev.httpd.apache.org> Reply-To: aburgess@example.net Delivered-To: mailing list aburgess@example.net Received: (qmail 787 invoked by uid 99); 2 Nov 2006 20:33:00 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Nov 2006 12:33:00 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [83.161.120.155] (HELO dedi17.smart-servers.de) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Nov 2006 12:32:45 -0800 Received: from xdsl-81-173-171-105.netcologne.de ([83.161.120.155] helo=dilbert.crrrwg.de ident=foobar) by dedi17.smart-servers.de with esmtpsa (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1GfjDE-0007fV-JB for aburgess@example.net; Thu, 02 Nov 2006 21:30:56 +0100 Received: from asus.crrrwg.de ([83.161.120.155] ident=f42f03facb68b9726be8907de6ddd954) by dilbert.crrrwg.de with esmtp (Exim 4.50) id 1GfjEc-0000xW-DI for aburgess@example.net; Thu, 02 Nov 2006 21:32:22 +0100 Subject: Re: Data Structure Serialization - debugging From: Joachim Zobel <aburgess@example.net> Reply-To: aburgess@example.net To: aburgess@example.net In-Reply-To: <aburgess@example.net> References: <aburgess@example.net> Content-Type: text/plain Organization: Not organized Date: Thu, 02 Nov 2006 21:32:20 +0100 Message-Id: <aburgess@example.net> Mime-Version: 1.0 X-Mailer: Evolution 2.6.3 Content-Transfer-Encoding: 7bit X-SA-Do-Not-Run: Yes X-SA-Exim-Connect-IP: 83.161.120.155 X-SA-Exim-Rcpt-To: aburgess@example.net X-SA-Exim-Mail-From: aburgess@example.net X-SA-Exim-Scanned: No (on dedi17.smart-servers.de); SAEximRunCond expanded to false X-Virus-Checked: Checked by ClamAV on apache.org Am Donnerstag, den 02.11.2006, 12:07 -0700 schrieb David Wortham: > Any ideas for serialization or opening another file? Or even just > debugging > tips in general? Apache seems like a difficult environment to debug > in Just write a good trace log (with log level APR_DEBUG). If that is of reasonable quality you can leave it in the code to serve you for troubleshooting later. The usual attitude to errors during development is to get rid of them as fast as possible. This is wrong. Every error is a chance to test and improve error handling. Sincerely, Joachim From modules-aburgess@example.net Thu Nov 02 21:03:40 2006 Return-Path: <modules-aburgess@example.net> Delivered-To: aburgess@example.net Received: (qmail 51120 invoked from network); 2 Nov 2006 21:03:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Nov 2006 21:03:40 -0000 Received: (qmail 44520 invoked by uid 500); 2 Nov 2006 21:03:51 -0000 Delivered-To: aburgess@example.net Received: (qmail 44359 invoked by uid 500); 2 Nov 2006 21:03:51 -0000 Mailing-List: contact aburgess@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aburgess@example.net> List-Unsubscribe: <mailto:aburgess@example.net> List-Post: <mailto:aburgess@example.net> List-Id: <modules-dev.httpd.apache.org> Reply-To: aburgess@example.net Delivered-To: mailing list aburgess@example.net Received: (qmail 44346 invoked by uid 99); 2 Nov 2006 21:03:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Nov 2006 13:03:51 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [83.161.120.155] (HELO dedi17.smart-servers.de) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Nov 2006 13:03:38 -0800 Received: from xdsl-81-173-171-105.netcologne.de ([83.161.120.155] helo=dilbert.crrrwg.de ident=foobar) by dedi17.smart-servers.de with esmtpsa (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1Gfjh8-0007g0-C8 for aburgess@example.net; Thu, 02 Nov 2006 22:01:50 +0100 Received: from asus.crrrwg.de ([83.161.120.155] ident=2c13ce13a78dc456a1818937845b7eeb) by dilbert.crrrwg.de with esmtp (Exim 4.50) id 1GfjiW-0000xx-9c for aburgess@example.net; Thu, 02 Nov 2006 22:03:16 +0100 Subject: Re: Data Structure Serialization From: Joachim Zobel <aburgess@example.net> Reply-To: aburgess@example.net To: aburgess@example.net In-Reply-To: <aburgess@example.net> References: <aburgess@example.net> Content-Type: text/plain Organization: Not organized Date: Thu, 02 Nov 2006 22:03:14 +0100 Message-Id: <aburgess@example.net> Mime-Version: 1.0 X-Mailer: Evolution 2.6.3 Content-Transfer-Encoding: 7bit X-SA-Do-Not-Run: Yes X-SA-Exim-Connect-IP: 83.161.120.155 X-SA-Exim-Rcpt-To: aburgess@example.net X-SA-Exim-Mail-From: aburgess@example.net X-SA-Exim-Scanned: No (on dedi17.smart-servers.de); SAEximRunCond expanded to false X-Virus-Checked: Checked by ClamAV on apache.org Am Donnerstag, den 02.11.2006, 12:07 -0700 schrieb David Wortham: > I have one file that opens in a given function. I need to open > another file > and close it about the same time: just before the end of the same > function. > I copy-pasted the code that correctly opens the first file but I am > not > seeing the second file open (it is never created, whereas the first > file is > created every time). The purpose of the files are to (1) trace the > processing path and write to file the results of each conditional to > file 1 > and (2) dump the entire contents of the in-memory data structure to > file 2. > I am having a hard time reconsiling what child process has what > requesting > IP addresses stored in a recent-hit cache and these files seem like > the only > way to debug this. To alternatives come to my mind. 1. You could write all data to the error log with ap_log_rerror. 2. You could write your data into notes with the notes api and the log these note with %{notename}n together with the pid and other interesting data in a special custom log. http://httpd.apache.org/docs/2.0/mod/mod_log_config.html#formats To learn about notes read about ap_register_request_note, ap_get_request_note in http_core.h. I have used them once, see http://www.heute-morgen.de/modules/mod_delay/mod_delay.c for a simple example. Hth, Joachim From modules-aburgess@example.net Fri Nov 03 13:56:03 2006 Return-Path: <modules-aburgess@example.net> Delivered-To: aburgess@example.net Received: (qmail 6803 invoked from network); 3 Nov 2006 13:56:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Nov 2006 13:56:03 -0000 Received: (qmail 10691 invoked by uid 500); 3 Nov 2006 13:56:14 -0000 Delivered-To: aburgess@example.net Received: (qmail 10674 invoked by uid 500); 3 Nov 2006 13:56:14 -0000 Mailing-List: contact aburgess@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aburgess@example.net> List-Unsubscribe: <mailto:aburgess@example.net> List-Post: <mailto:aburgess@example.net> List-Id: <modules-dev.httpd.apache.org> Reply-To: aburgess@example.net Delivered-To: mailing list aburgess@example.net Received: (qmail 10665 invoked by uid 99); 3 Nov 2006 13:56:13 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Nov 2006 05:56:13 -0800 X-ASF-Spam-Status: No, hits=2.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [83.161.120.155] (HELO web54001.mail.yahoo.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 03 Nov 2006 05:55:58 -0800 Received: (qmail 63823 invoked by uid 60001); 3 Nov 2006 13:55:35 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Jy6dtWbki7yqET5h+kM2lANbV7Jz7ux2e006ffNGY0Tve8r0Kur/WW3W7z/ZR2ERd8ToruDkBObpy0d2TFNcfLObR7fZCBoqBz2Hfk1gI2H10vKlCG8PlYQETaMYB0p6ffjVRIcwXHbv4H2rCJ5CDrD3FJhYqujYZa9kACLW7/4= ; Message-ID: <aburgess@example.net> Received: from [83.161.120.155] by web54001.mail.yahoo.com via HTTP; Fri, 03 Nov 2006 05:55:33 PST Date: Fri, 3 Nov 2006 05:55:33 -0800 (PST) From: amol tambe <aburgess@example.net> Subject: Apache doesn't close connection with the client To: aburgess@example.net MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Hello, I am trying to write a protocol module for Apache which will encrypt data and send to-from Apache. (I can not use mod_SSL for some reasons). My module code builds and loads fine. After the module is loaded, when I send a simple GET request to my Apache server as follows https://localhost/cgi-bin/hello_name.exe?name=Rhino I get the expected output from my CGI at the client but then my client hangs waiting for more response/data from the server. Since this is a protocol module, it directly reads from socket and writes to the socket. The functions that read and write to a socket respectively are SSCryptoRead() and SSCryptoWrite(). After I read the data using SSCryptoRead, I insert it into the buckets so that is passed to my content generator which is the CGI (hello_name.exe) as shown in the URL above. Then in the output filters, I grab the generated data and encrypt and send it back to the client using function SSCryptoWrite. I doubt if my problem could be related to not inserting and EOS bucket. But I am not sure if I am supposed to enter an EOS bucket or Apache would do it for me. I am also not sure if I need so set something like KEEP-ALIVE or CLOSE in my request or response. Since my code is much like SSL, I tried looking up the SSL code but I could not find anything of help. Can anyone point me to what might be missing here? Are there any special steps to be taken while writing a protocol module? An extract of my module code is pasted below... module AP_MODULE_DECLARE_DATA ss_module = { STANDARD20_MODULE_STUFF, NULL, NULL, ss_config_server_create, NULL, ss_config_cmds, ss_register_hooks }; static void ss_register_hooks (apr_pool_t *p) { ap_register_input_filter (ss_io_filter, ss_io_filter_input, NULL, AP_FTYPE_CONNECTION + 5); ap_register_output_filter (ss_io_filter, ss_io_filter_output, NULL, AP_FTYPE_CONNECTION + 5); ap_hook_post_config (ss_init_Module, NULL, NULL, APR_HOOK_MIDDLE); ap_hook_pre_connection (ss_hook_pre_connection,NULL,NULL, APR_HOOK_MIDDLE); } static apr_status_t ss_io_filter_input(ap_filter_t *f, apr_bucket_brigade *bb, ap_input_mode_t mode, apr_read_type_e block, apr_off_t readbytes) { . . . len = SSSecureRead(inctx->filter_ctx->session_ctx->session, buf, &len); if (len > 0) { apr_bucket *bucket = apr_bucket_transient_create(inctx->buffer, len, f->c->bucket_alloc); APR_BRIGADE_INSERT_TAIL(bb, bucket); } return APR_SUCCESS; } static apr_status_t ss_io_filter_output(ap_filter_t *f, apr_bucket_brigade *bb) { . . . while (!APR_BRIGADE_EMPTY(bb)) { apr_bucket *bucket = APR_BRIGADE_FIRST(bb); if (APR_BUCKET_IS_EOS(bucket) || APR_BUCKET_IS_FLUSH(bucket)) { if (ss_filter_out_flush(filter_ctx->pWriteptr) < 0) status = outctx->rc; break; } else if (AP_BUCKET_IS_EOC(bucket)) { if ((status = ap_pass_brigade(f->next, bb)) != APR_SUCCESS) return status; break; } else { const char *data; apr_size_t len; /*Read the data from the buckets and write it to the socket*/ status = apr_bucket_read(bucket, &data, &len, rblock); res = SSCryptoWrite(filter_ctx->session_ctx->session, data, len); } } return APR_SUCCESS; } Any suggestions/pointers would be highly appreciated. Thanks, Amol ____________________________________________________________________________________ Get your email and see which of your friends are online - Right on the New Yahoo.com (http://www.yahoo.com/preview) From modules-aburgess@example.net Fri Nov 03 16:45:33 2006 Return-Path: <modules-aburgess@example.net> Delivered-To: aburgess@example.net Received: (qmail 67545 invoked from network); 3 Nov 2006 16:45:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Nov 2006 16:45:32 -0000 Received: (qmail 14462 invoked by uid 500); 3 Nov 2006 16:45:43 -0000 Delivered-To: aburgess@example.net Received: (qmail 14441 invoked by uid 500); 3 Nov 2006 16:45:43 -0000 Mailing-List: contact aburgess@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aburgess@example.net> List-Unsubscribe: <mailto:aburgess@example.net> List-Post: <mailto:aburgess@example.net> List-Id: <modules-dev.httpd.apache.org> Reply-To: aburgess@example.net Delivered-To: mailing list aburgess@example.net Received: (qmail 14405 invoked by uid 99); 3 Nov 2006 16:45:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Nov 2006 08:45:42 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [83.161.120.155] (HELO cluster-j.mailcontrol.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Nov 2006 08:45:17 -0800 Received: from smtp1.cmg.com (smtp1.cmg.com [83.161.120.155]) by rly33j.srv.mailcontrol.com (MailControl) with ESMTP id kA3Gii1U016308 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <aburgess@example.net>; Fri, 3 Nov 2006 16:44:45 GMT Received: from c2-ex002.groupinfra.com ([83.161.120.155]) by smtp1.cmg.com (8.12.9/8.12.3) with ESMTP id kA3Gi11x032582 for <aburgess@example.net>; Fri, 3 Nov 2006 17:44:42 +0100 (CET) (envelope-from aburgess@example.net) Received: from us-ex006.groupinfra.com ([83.161.120.155]) by c2-ex002.groupinfra.com with Microsoft SMTPSVC(708)546-9276); Fri, 3 Nov 2006 17:44:01 +0100 Received: from us-ex004.groupinfra.com ([83.161.120.155]) by us-ex006.groupinfra.com with Microsoft SMTPSVC(708)546-9276); Fri, 3 Nov 2006 10:44:00 -0600 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Apache doesnt close connection with the client Date: Fri, 3 Nov 2006 10:43:58 -0600 Message-ID: <aburgess@example.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Apache doesnt close connection with the client Thread-Index: Acb/T9pcbPWrdyITR/edz4O8aDEdQQAF1dXw From: "Sivadoss, Pradosh" <aburgess@example.net> To: <aburgess@example.net> X-OriginalArrivalTime: 03 Nov 2006 16:44:00.0150 (UTC) FILETIME=[433E2B60:01C6FF67] X-Virus-Scanned: CMG - by AMaViS / NAI Virus Scan X-Scanned-By: MailControl A-07-06-70 (www.mailcontrol.com) on 83.161.120.155 X-Virus-Checked: Checked by ClamAV on apache.org Connection: close In the HTTP request header, will take care of it.=20 -----Original Message----- From: amol tambe [mailto:aburgess@example.net]=20 Sent: Friday, November 03, 2006 8:56 AM To: aburgess@example.net Subject: Apache doesnt close connection with the client Hello, I am trying to write a protocol module for Apache which will encrypt data and send to-from Apache. (I can not use mod_SSL for some reasons). My module code builds and loads fine. After the module is loaded, when I send a simple GET request to my Apache server as follows https://localhost/cgi-bin/hello_name.exe?name=3DRhino I get the expected output from my CGI at the client but then my client hangs waiting for more response/data from the server. Since this is a protocol module, it directly reads from socket and writes to the socket. The functions that read and write to a socket respectively are SSCryptoRead() and SSCryptoWrite(). After I read the data using SSCryptoRead, I insert it into the buckets so that is passed to my content generator which is the CGI (hello_name.exe) as shown in the URL above. Then in the output filters, I grab the generated data and encrypt and send it back to the client using function SSCryptoWrite. I doubt if my problem could be related to not inserting and EOS bucket. But I am not sure if I am supposed to enter an EOS bucket or Apache would do it for me. I am also not sure if I need so set something like KEEP-ALIVE or CLOSE in my request or response. Since my code is much like SSL, I tried looking up the SSL code but I could not find anything of help. Can anyone point me to what might be missing here? Are there any special steps to be taken while writing a protocol module?=20 An extract of my module code is pasted below... module AP_MODULE_DECLARE_DATA ss_module =3D { STANDARD20_MODULE_STUFF, NULL, NULL, ss_config_server_create, NULL, ss_config_cmds, ss_register_hooks }; static void ss_register_hooks (apr_pool_t *p) { ap_register_input_filter (ss_io_filter, ss_io_filter_input, NULL, AP_FTYPE_CONNECTION + 5); ap_register_output_filter (ss_io_filter, ss_io_filter_output, NULL, AP_FTYPE_CONNECTION + 5); ap_hook_post_config (ss_init_Module,=20=20=20=20=20=20=20=20=20=20= =20 NULL, NULL, APR_HOOK_MIDDLE); ap_hook_pre_connection=20=20=20 (ss_hook_pre_connection,NULL,NULL, APR_HOOK_MIDDLE); } static apr_status_t ss_io_filter_input(ap_filter_t *f, apr_bucket_brigade *bb, ap_input_mode_t mode, apr_read_type_e block, apr_off_t readbytes) { . . . len =3D SSSecureRead(inctx->filter_ctx->session_ctx->session, buf, &len); if (len > 0) { apr_bucket *bucket =3D apr_bucket_transient_create(inctx->buffer, len, f->c->bucket_alloc); APR_BRIGADE_INSERT_TAIL(bb, bucket); } return APR_SUCCESS; } static apr_status_t ss_io_filter_output(ap_filter_t *f, apr_bucket_brigade *bb) { . . . while (!APR_BRIGADE_EMPTY(bb)) { apr_bucket *bucket =3D APR_BRIGADE_FIRST(bb); if (APR_BUCKET_IS_EOS(bucket) || APR_BUCKET_IS_FLUSH(bucket)) { if (ss_filter_out_flush(filter_ctx->pWriteptr) < 0) status =3D outctx->rc; break; } else if (AP_BUCKET_IS_EOC(bucket)) { if ((status =3D ap_pass_brigade(f->next, bb)) !=3D APR_SUCCESS)=20 return status; break; } else { const char *data; apr_size_t len; /*Read the data from the buckets and write it to the socket*/ status =3D apr_bucket_read(bucket, &data, &len, rblock); res =3D SSCryptoWrite(filter_ctx->session_ctx->session, data, len); } } return APR_SUCCESS; } Any suggestions/pointers would be highly appreciated. Thanks, Amol =20 ________________________________________________________________________ ____________ Get your email and see which of your friends are online - Right on the New Yahoo.com (http://www.yahoo.com/preview)=20 This e-mail and any attachment is for authorised use by the intended recipi= ent(s) only. It may contain proprietary material, confidential information = and/or be subject to legal privilege. It should not be copied, disclosed to= , retained or used by, any other party. If you are not an intended recipien= t then please promptly delete this e-mail and any attachment and all copies= and inform the sender. Thank you. From modules-aburgess@example.net Sat Nov 04 08:27:33 2006 Return-Path: <modules-aburgess@example.net> Delivered-To: aburgess@example.net Received: (qmail 77810 invoked from network); 4 Nov 2006 08:27:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Nov 2006 08:27:32 -0000 Received: (qmail 17702 invoked by uid 500); 4 Nov 2006 08:27:43 -0000 Delivered-To: aburgess@example.net Received: (qmail 17692 invoked by uid 500); 4 Nov 2006 08:27:43 -0000 Mailing-List: contact aburgess@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aburgess@example.net> List-Unsubscribe: <mailto:aburgess@example.net> List-Post: <mailto:aburgess@example.net> List-Id: <modules-dev.httpd.apache.org> Reply-To: aburgess@example.net Delivered-To: mailing list aburgess@example.net Received: (qmail 17683 invoked by uid 99); 4 Nov 2006 08:27:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Nov 2006 00:27:43 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of aburgess@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO excu-mxob-1.symantec.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Nov 2006 00:27:31 -0800 Received: from cup2opsmtapin01.ges.symantec.com (cup2opsmtapin01.ges.symantec.com [83.161.120.155]) by excu-mxob-1.symantec.com (8.13.7/8.13.7) with ESMTP id kA48R8th010034 for <aburgess@example.net>; Sat, 4 Nov 2006 00:27:08 -0800 (PST) Received: from svlxchcon2.veritas.com ([83.161.120.155] helo=SVLXCHCON2.enterprise.veritas.com) by cup2opsmtapin01.ges.symantec.com with esmtp (Exim 4.52) id 1GgGrs-00022H-Gg for aburgess@example.net; Sat, 04 Nov 2006 00:27:08 -0800 Received: from PUNAXCHECNPIN01.enterprise.veritas.com ([83.161.120.155]) by SVLXCHCON2.enterprise.veritas.com with Microsoft SMTPSVC(6.0.3790.211); Sat, 4 Nov 2006 00:27:08 -0800 Received: from ITPXCHCLN1.enterprise.veritas.com ([83.161.120.155]) by PUNAXCHECNPIN01.enterprise.veritas.com with Microsoft SMTPSVC(708)546-9276); Sat, 4 Nov 2006 13:57:04 +0530 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Apache doesnt close connection with the client Date: Sat, 4 Nov 2006 13:59:14 +0530 Message-ID: <aburgess@example.net> In-Reply-To: <aburgess@example.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Apache doesnt close connection with the client Thread-Index: Acb/T9pcbPWrdyITR/edz4O8aDEdQQAF1dXwACDzFiA= From: "Amol Tambe" <aburgess@example.net> To: <aburgess@example.net> X-OriginalArrivalTime: 04 Nov 2006 08:27:04.0853 (UTC) FILETIME=[025AA450:01C6FFEB] X-Virus-Checked: Checked by ClamAV on apache.org Hi=20 Thanks for this info. But I am not sure, where in the server I set "Connection: close". Is there an APP to do this? And what would be the deciding criteria to conclude that I want to call "Connection: close"? Thanks in advance for your help. Amol -----Original Message----- From: Sivadoss, Pradosh [mailto:aburgess@example.net]=20 Sent: Friday, November 03, 2006 10:14 PM To: aburgess@example.net Subject: RE: Apache doesnt close connection with the client Connection: close In the HTTP request header, will take care of it.=20 -----Original Message----- From: amol tambe [mailto:aburgess@example.net] Sent: Friday, November 03, 2006 8:56 AM To: aburgess@example.net Subject: Apache doesnt close connection with the client Hello, I am trying to write a protocol module for Apache which will encrypt data and send to-from Apache. (I can not use mod_SSL for some reasons). My module code builds and loads fine. After the module is loaded, when I send a simple GET request to my Apache server as follows https://localhost/cgi-bin/hello_name.exe?name=3DRhino I get the expected output from my CGI at the client but then my client hangs waiting for more response/data from the server. Since this is a protocol module, it directly reads from socket and writes to the socket. The functions that read and write to a socket respectively are SSCryptoRead() and SSCryptoWrite(). After I read the data using SSCryptoRead, I insert it into the buckets so that is passed to my content generator which is the CGI (hello_name.exe) as shown in the URL above. Then in the output filters, I grab the generated data and encrypt and send it back to the client using function SSCryptoWrite. I doubt if my problem could be related to not inserting and EOS bucket. But I am not sure if I am supposed to enter an EOS bucket or Apache would do it for me. I am also not sure if I need so set something like KEEP-ALIVE or CLOSE in my request or response. Since my code is much like SSL, I tried looking up the SSL code but I could not find anything of help. Can anyone point me to what might be missing here? Are there any special steps to be taken while writing a protocol module?=20 An extract of my module code is pasted below... module AP_MODULE_DECLARE_DATA ss_module =3D { STANDARD20_MODULE_STUFF, NULL, NULL, ss_config_server_create, NULL, ss_config_cmds, ss_register_hooks }; static void ss_register_hooks (apr_pool_t *p) { ap_register_input_filter (ss_io_filter, ss_io_filter_input, NULL, AP_FTYPE_CONNECTION + 5); ap_register_output_filter (ss_io_filter, ss_io_filter_output, NULL, AP_FTYPE_CONNECTION + 5); ap_hook_post_config (ss_init_Module, =20 NULL, NULL, APR_HOOK_MIDDLE); ap_hook_pre_connection =20 (ss_hook_pre_connection,NULL,NULL, APR_HOOK_MIDDLE); } static apr_status_t ss_io_filter_input(ap_filter_t *f, apr_bucket_brigade *bb, ap_input_mode_t mode, apr_read_type_e block, apr_off_t readbytes) { . . . len =3D SSSecureRead(inctx->filter_ctx->session_ctx->session, buf, &len); if (len > 0) { apr_bucket *bucket =3D apr_bucket_transient_create(inctx->buffer, len, f->c->bucket_alloc); APR_BRIGADE_INSERT_TAIL(bb, bucket); } return APR_SUCCESS; } static apr_status_t ss_io_filter_output(ap_filter_t *f, apr_bucket_brigade *bb) { . . . while (!APR_BRIGADE_EMPTY(bb)) { apr_bucket *bucket =3D APR_BRIGADE_FIRST(bb); if (APR_BUCKET_IS_EOS(bucket) || APR_BUCKET_IS_FLUSH(bucket)) { if (ss_filter_out_flush(filter_ctx->pWriteptr) < 0) status =3D outctx->rc; break; } else if (AP_BUCKET_IS_EOC(bucket)) { if ((status =3D ap_pass_brigade(f->next, bb)) !=3D APR_SUCCESS)=20 return status; break; } else { const char *data; apr_size_t len; /*Read the data from the buckets and write it to the socket*/ status =3D apr_bucket_read(bucket, &data, &len, rblock); res =3D SSCryptoWrite(filter_ctx->session_ctx->session, data, len); } } return APR_SUCCESS; } Any suggestions/pointers would be highly appreciated. Thanks, Amol =20 ________________________________________________________________________ ____________ Get your email and see which of your friends are online - Right on the New Yahoo.com (http://www.yahoo.com/preview)=20 This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. From modules-aburgess@example.net Sun Nov 05 10:39:26 2006 Return-Path: <modules-aburgess@example.net> Delivered-To: aburgess@example.net Received: (qmail 31446 invoked from network); 5 Nov 2006 10:39:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 5 Nov 2006 10:39:26 -0000 Received: (qmail 58404 invoked by uid 500); 5 Nov 2006 10:39:37 -0000 Delivered-To: aburgess@example.net Received: (qmail 58377 invoked by uid 500); 5 Nov 2006 10:39:37 -0000 Mailing-List: contact aburgess@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aburgess@example.net> List-Unsubscribe: <mailto:aburgess@example.net> List-Post: <mailto:aburgess@example.net> List-Id: <modules-dev.httpd.apache.org> Reply-To: aburgess@example.net Delivered-To: mailing list aburgess@example.net Received: (qmail 58352 invoked by uid 99); 5 Nov 2006 10:39:37 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Nov 2006 02:39:36 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of aburgess@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO nf-out-0910.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Nov 2006 02:39:23 -0800 Received: by nf-out-0910.google.com with SMTP id p46so2567611nfa for <aburgess@example.net>; Sun, 05 Nov 2006 02:39:02 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Y0WwVjbAmR4rUoYn5mf3iZCC3L3lxem3oJ4BsGKsUnEBdEGdx+dPaV1vOdx0k+rzq1KwFvrq8ZGNLRMSdQn1ZzyhU30jDbDPdCYDpVUDHN7iyUkHrircu7VrH+Ejt3TYK41X4/dE6gFol+no9ulBceB8edU8h9ehYrALAIt0dFk= Received: by 83.161.120.155 with SMTP id b20mr5261568hug.1162723141568; Sun, 05 Nov 2006 02:39:01 -0800 (PST) Received: by 83.161.120.155 with HTTP; Sun, 5 Nov 2006 02:39:01 -0800 (PST) Message-ID: <aburgess@example.net> Date: Sun, 5 Nov 2006 16:09:01 +0530 From: "Manish Chakravarty" <aburgess@example.net> To: aburgess@example.net Subject: Problem with create_dir_config in apache 1.3 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Hi All, I am facing a weird problem. I am calling create_dir_config() and the compiler is reporting an error. I have included the following apache header files... #include "httpd.h" #include "http_config.h" #include "http_core.h" #include "http_log.h" #include "http_protocol.h" #include "http_request.h" #include "http_main.h" I tried searching manually, but could not find the code anywhere. Could you please tell me how to use this method? -- Warm Regards, Manish Chakravarty ---- Consultant Software Developer PH: (708)546-9276 http://manishchaks.net --- From modules-aburgess@example.net Sun Nov 05 21:06:14 2006 Return-Path: <modules-aburgess@example.net> Delivered-To: aburgess@example.net Received: (qmail 49807 invoked from network); 5 Nov 2006 21:06:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 5 Nov 2006 21:06:13 -0000 Received: (qmail 88109 invoked by uid 500); 5 Nov 2006 21:06:24 -0000 Delivered-To: aburgess@example.net Received: (qmail 88083 invoked by uid 500); 5 Nov 2006 21:06:24 -0000 Mailing-List: contact aburgess@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aburgess@example.net> List-Unsubscribe: <mailto:aburgess@example.net> List-Post: <mailto:aburgess@example.net> List-Id: <modules-dev.httpd.apache.org> Reply-To: aburgess@example.net Delivered-To: mailing list aburgess@example.net Received: (qmail 88074 invoked by uid 99); 5 Nov 2006 21:06:24 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Nov 2006 13:06:24 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of aburgess@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO smtp-out3.blueyonder.co.uk) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Nov 2006 13:06:10 -0800 Received: from [83.161.120.155] (helo=anti-virus03-10) by smtp-out3.blueyonder.co.uk with smtp (Exim 4.52) id 1GgpBd-0007ow-L1 for aburgess@example.net; Sun, 05 Nov 2006 21:05:49 +0000 Received: from [83.161.120.155] (helo=[83.161.120.155]) by asmtp-out2.blueyonder.co.uk with esmtpa (Exim 4.52) id 1GgpBc-0007oH-UC for aburgess@example.net; Sun, 05 Nov 2006 21:05:49 +0000 Message-ID: <aburgess@example.net> Date: Sun, 05 Nov 2006 21:05:47 +0000 From: Karl Southern <aburgess@example.net> User-Agent: Thunderbird 83.161.120.155 (Windows/20060909) MIME-Version: 1.0 To: aburgess@example.net Subject: Re: Problem with create_dir_config in apache 1.3 References: <aburgess@example.net> In-Reply-To: <aburgess@example.net> X-Enigmail-Version: 83.161.120.155 OpenPGP: id=E40CC539 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org create_dir_config should be a function / pointer to a function that you define yourself and assign, which creates the default directory configuration. > I am facing a weird problem. I am calling create_dir_config() and the > compiler is reporting an error. From modules-aburgess@example.net Mon Nov 06 08:54:40 2006 Return-Path: <modules-aburgess@example.net> Delivered-To: aburgess@example.net Received: (qmail 5790 invoked from network); 6 Nov 2006 08:54:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 6 Nov 2006 08:54:40 -0000 Received: (qmail 16456 invoked by uid 500); 6 Nov 2006 08:54:50 -0000 Delivered-To: aburgess@example.net Received: (qmail 16442 invoked by uid 500); 6 Nov 2006 08:54:50 -0000 Mailing-List: contact aburgess@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aburgess@example.net> List-Unsubscribe: <mailto:aburgess@example.net> List-Post: <mailto:aburgess@example.net> List-Id: <modules-dev.httpd.apache.org> Reply-To: aburgess@example.net Delivered-To: mailing list aburgess@example.net Received: (qmail 16433 invoked by uid 99); 6 Nov 2006 08:54:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Nov 2006 00:54:50 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of aburgess@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO nf-out-0910.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Nov 2006 00:54:38 -0800 Received: by nf-out-0910.google.com with SMTP id p48so2428748nfa for <aburgess@example.net>; Mon, 06 Nov 2006 00:54:15 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=shIxJ/yZkaJkf21i3FJB8A5ISoXd+zOLx0+iLLC9Q+HUSn+42ly7LrNv1LAWAyBMCtuR+akPB6oEwLz2TbVAlMCcmPdt2jAPb4HIbL7y70TMpUmpZjHZl8WDvda3Kh8BQU2GNgMa3g88bv/DeF5ACE4NyLB/+hsePAN9V/1HTr0= Received: by 83.161.120.155 with SMTP id i15mr6476419huf.1162803254469; Mon, 06 Nov 2006 00:54:14 -0800 (PST) Received: by 83.161.120.155 with HTTP; Mon, 6 Nov 2006 00:54:14 -0800 (PST) Message-ID: <aburgess@example.net> Date: Mon, 6 Nov 2006 14:24:14 +0530 From: "Manish Chakravarty" <aburgess@example.net> To: aburgess@example.net Subject: Re: Problem with create_dir_config in apache 1.3 In-Reply-To: <aburgess@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <aburgess@example.net> <aburgess@example.net> X-Virus-Checked: Checked by ClamAV on apache.org On 11/6/06, Karl Southern <aburgess@example.net> wrote: > create_dir_config should be a function / pointer to a function that you > define yourself and assign, which creates the default directory > configuration. > > I am facing a weird problem. I am calling create_dir_config() and the > > compiler is reporting an error. > > Thank you very much -- Warm Regards, Manish Chakravarty ---- Consultant Software Developer PH: (708)546-9276 http://manishchaks.net --- From modules-aburgess@example.net Mon Nov 06 14:41:05 2006 Return-Path: <modules-aburgess@example.net> Delivered-To: aburgess@example.net Received: (qmail 16264 invoked from network); 6 Nov 2006 14:40:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 6 Nov 2006 14:40:52 -0000 Received: (qmail 80896 invoked by uid 500); 6 Nov 2006 14:41:03 -0000 Delivered-To: aburgess@example.net Received: (qmail 80873 invoked by uid 500); 6 Nov 2006 14:41:03 -0000 Mailing-List: contact aburgess@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aburgess@example.net> List-Unsubscribe: <mailto:aburgess@example.net> List-Post: <mailto:aburgess@example.net> List-Id: <modules-dev.httpd.apache.org> Reply-To: aburgess@example.net Delivered-To: mailing list aburgess@example.net Received: (qmail 80863 invoked by uid 99); 6 Nov 2006 14:41:02 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Nov 2006 06:41:02 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [83.161.120.155] (HELO smtp4-g19.free.fr) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Nov 2006 06:40:48 -0800 Received: from imp1-g19.free.fr (imp1-g19.free.fr [83.161.120.155]) by smtp4-g19.free.fr (Postfix) with ESMTP id A279F89ED for <aburgess@example.net>; Mon, 6 Nov 2006 15:40:27 +0100 (CET) Received: by imp1-g19.free.fr (Postfix, from userid 33) id 97A247EC8; Mon, 6 Nov 2006 15:40:27 +0100 (CET) Received: from gf1a.select.globalone.net (gf1a.select.globalone.net [83.161.120.155]) by imp1-g19.free.fr (IMP) with HTTP for <aburgess@example.net>; Mon, 06 Nov 2006 09:40:27 -0500 Message-ID: <aburgess@example.net> Date: Mon, 06 Nov 2006 09:40:27 -0500 From: Yann <aburgess@example.net> To: aburgess@example.net Subject: Strange priority problem mod_tsa, apache2 with https MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.5 X-Originating-IP: 83.161.120.155 X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I post here because i don't find a solution with mod_tsa team, and it's perhaps a apache related problem. I test mod_tsa ( http://www.opentsa.org/ ) with Apache2 (2.0 and 2.2), mod_tsa work under http but i've a strange problem; under https only, all my request are read by mod_tsa without any special tsa directives ! Apache debug log: [Tue Oct 31 16:01:28 2006] [debug] mod_tsa.c(989): [client 83.161.120.155] tsa_handler: start, referer: https://blablbala... [Tue Oct 31 16:01:28 2006] [debug] mod_tsa.c(1004): [client 83.161.120.155] mod_tsa:request handler is called, referer: https://test.balablaa So, when in my website a POST occur (in https only), mod_tsa take the hand and Apache return a 404... [Tue Oct 31 16:26:12 2006] [debug] mod_tsa.c(989): [client 83.161.120.155] tsa_handler: start, referer: https://test.blabblabla [Tue Oct 31 16:26:12 2006] [debug] mod_tsa.c(1004): [client 83.161.120.155] mod_tsa:request handler is called, referer: https://test.blablablabl... (BUT is not a TSA request just a POST !) [Tue Oct 31 16:26:12 2006] [debug] mod_tsa.c(1023): [client 83.161.120.155] mod_tsa:bad Content-Type in request, referer: https://test.blablabla... (mod_tsa see it's a bad content-type) [Tue Oct 31 16:26:12 2006] [debug] mod_tsa.c(1119): [client 83.161.120.155] tsa_handler: end, referer: https://test.blabla..balablb Don't have this problem in Apache 1.33... If i remove mod_tsa, my conf work great, post and get are OK. I don't find the way to force mod_tsa Apache2 handler... or something else... or to stop mod_tsa to intercept all GET and POST in https. It is possible to have a module loaded only for a Virtual Host ? Or force Apache to discard mod_tsa handler in https mode only ? Thank you. From modules-aburgess@example.net Mon Nov 06 16:15:54 2006 Return-Path: <modules-aburgess@example.net> Delivered-To: aburgess@example.net Received: (qmail 50272 invoked from network); 6 Nov 2006 16:15:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 6 Nov 2006 16:15:54 -0000 Received: (qmail 15801 invoked by uid 500); 6 Nov 2006 16:16:04 -0000 Delivered-To: aburgess@example.net Received: (qmail 15777 invoked by uid 500); 6 Nov 2006 16:16:04 -0000 Mailing-List: contact aburgess@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aburgess@example.net> List-Unsubscribe: <mailto:aburgess@example.net> List-Post: <mailto:aburgess@example.net> List-Id: <modules-dev.httpd.apache.org> Reply-To: aburgess@example.net Delivered-To: mailing list aburgess@example.net Received: (qmail 15765 invoked by uid 99); 6 Nov 2006 16:16:04 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Nov 2006 08:16:04 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [83.161.120.155] (HELO skx.xen-hosting.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Nov 2006 08:15:50 -0800 Received: from steve by skx.xen-hosting.net with local (Exim 4.50) id 1Gh78D-0001nc-1i for aburgess@example.net; Mon, 06 Nov 2006 16:15:29 +0000 Date: Mon, 6 Nov 2006 16:15:28 +0000 From: Steve Kemp <aburgess@example.net> To: aburgess@example.net Subject: Re: Reading POST request without destroying it? Message-ID: <aburgess@example.net> References: <aburgess@example.net> <aburgess@example.net> <aburgess@example.net> <aburgess@example.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <aburgess@example.net> User-Agent: Mutt/1.5.9i X-Virus-Checked: Checked by ClamAV on apache.org A while back I asked for help with reading POST data in a module, such that it would still be available for use by CGI processes etc. I thought I had a solution using brigades and buckets, but it seems like I'm still missing the obvious as my data is still removed by the time mod_cgi/mod_php is invoked. I've included the code I'm using below, if there is anything immediately visible I'd appreciate pointers .. Steve -- http://www.steve.org.uk/ tatic const char * mod_ifier_parse_read_post_payload(request_rec *r, const char **rbuf) { apr_bucket_brigade *bb; int seen_eos = 0; apr_status_t rv; apr_uri_t *uri = &r->parsed_uri; uri->query = ""; bb = apr_brigade_create(r->pool,r->connection->bucket_alloc); do { apr_bucket *bucket; rv = ap_get_brigade(r->input_filters,bb,AP_MODE_READBYTES,APR_BLOCK_READ,HUGE_STRING_LEN); if (rv != APR_SUCCESS) { return NULL; } while (!APR_BRIGADE_EMPTY(bb)) { const char *data; apr_size_t len; bucket = APR_BRIGADE_FIRST(bb); if (APR_BUCKET_IS_EOS(bucket)) { seen_eos = 1; break; } if (APR_BUCKET_IS_FLUSH(bucket)) { continue; } apr_bucket_read(bucket,&data,&len,APR_BLOCK_READ); uri->query = apr_pstrcat(r->pool,uri->query,data,NULL); apr_bucket_delete(bucket); } apr_brigade_cleanup(bb); } while (!seen_eos); return( apr_pstrdup( r->pool, uri->query ) ); } From modules-aburgess@example.net Mon Nov 06 17:26:03 2006 Return-Path: <modules-aburgess@example.net> Delivered-To: aburgess@example.net Received: (qmail 74783 invoked from network); 6 Nov 2006 17:26:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 6 Nov 2006 17:26:02 -0000 Received: (qmail 65884 invoked by uid 500); 6 Nov 2006 17:26:13 -0000 Delivered-To: aburgess@example.net Received: (qmail 65860 invoked by uid 500); 6 Nov 2006 17:26:12 -0000 Mailing-List: contact aburgess@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aburgess@example.net> List-Unsubscribe: <mailto:aburgess@example.net> List-Post: <mailto:aburgess@example.net> List-Id: <modules-dev.httpd.apache.org> Reply-To: aburgess@example.net Delivered-To: mailing list aburgess@example.net Received: (qmail 65851 invoked by uid 99); 6 Nov 2006 17:26:12 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Nov 2006 09:26:12 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of aburgess@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ug-out-1314.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Nov 2006 09:25:58 -0800 Received: by ug-out-1314.google.com with SMTP id 75so910226ugb for <aburgess@example.net>; Mon, 06 Nov 2006 09:25:36 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=fAefX/MptsxYGON/jCKW3v8SI+pNaHekmJtRlBQmCDOmphhk4a+WZiHSgbd5CDP34dNeMlzldf9IDkj/uOrLYWvMrp8rEHqYve0A5tTJBQkeGoraa3v7hhHfnXV7/TvVoflCSab2LJVSRtXmRB6Re4cs7/lmFI0beiDg/nYyuNg= Received: by 83.161.120.155 with SMTP id b1mr7687097ugm.1162833936719; Mon, 06 Nov 2006 09:25:36 -0800 (PST) Received: by 83.161.120.155 with HTTP; Mon, 6 Nov 2006 09:25:36 -0800 (PST) Message-ID: <aburgess@example.net> Date: Mon, 6 Nov 2006 09:25:36 -0800 From: "Brian McQueen" <aburgess@example.net> To: aburgess@example.net Subject: Who is Representing Apache? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org I was at a conference for startups last week, and it would have been very useful to have someone there representing Apache. It is going to drop from the minds of its target audience if its utility is not made obvious again and again, obvious and up-to-date. There was a lot of talk about open source projects and how to use open source code and nobody but me mentioned Apache. It should be the textbook example of how to run a successful open source project, and it should be an example of great engineering and there should be cases made for how and why to use it, and the startups should hear about it. It was a missed opportunity. I raised the question about how many folks depend on it, and the room was full of hands, but NONE of them are developing within it, none are involved with it. Its just their web server. This awesome Apache thing you guys created is beginning to slide into obscurity, when its actually better now than ever and should be moving more steadily into the forefront. Its no mere web server! So who is responsible for this type of activity? Brian McQueen From modules-aburgess@example.net Mon Nov 06 19:28:44 2006 Return-Path: <modules-aburgess@example.net> Delivered-To: aburgess@example.net Received: (qmail 14365 invoked from network); 6 Nov 2006 19:28:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 6 Nov 2006 19:28:41 -0000 Received: (qmail 58511 invoked by uid 500); 6 Nov 2006 19:28:52 -0000 Delivered-To: aburgess@example.net Received: (qmail 58471 invoked by uid 500); 6 Nov 2006 19:28:52 -0000 Mailing-List: contact aburgess@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aburgess@example.net> List-Unsubscribe: <mailto:aburgess@example.net> List-Post: <mailto:aburgess@example.net> List-Id: <modules-dev.httpd.apache.org> Reply-To: aburgess@example.net Delivered-To: mailing list aburgess@example.net Received: (qmail 58419 invoked by uid 99); 6 Nov 2006 19:28:52 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Nov 2006 11:28:52 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: 83.161.120.155 is neither permitted nor denied by domain of aburgess@example.net) Received: from [83.161.120.155] (HELO atlas.jtan.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Nov 2006 11:28:37 -0800 X-JTAN-Outgoing-From: aburgess@example.net X-JTAN-Outgoing-To: aburgess@example.net X-JTAN-Received: c-24-5-108-151.hsd1.ca.comcast.net [83.161.120.155] X-JTAN-Recipient: aburgess@example.net X-JTAN-AntiSPAM: not spam, Outgoing not scanned X-JTAN-AntiVirus: Found to be clean, Outgoing not scanned Received: from [83.161.120.155] (c-24-5-108-151.hsd1.ca.comcast.net [83.161.120.155]) (authenticated bits=0) by atlas.jtan.com (8.12.8p1/8.12.8) with ESMTP id kA6JRlvC014884 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Mon, 6 Nov 2006 14:27:51 -0500 (EST) In-Reply-To: <aburgess@example.net> References: <aburgess@example.net> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: multipart/signed; micalg=sha1; boundary=Apple-Mail-(708)546-9276; protocol="application/pkcs7-signature" Message-Id: <aburgess@example.net> Cc: ASF PRC Team <aburgess@example.net> From: Sander Temme <aburgess@example.net> Subject: Re: Who is Representing Apache? Date: Mon, 6 Nov 2006 11:27:44 -0800 To: aburgess@example.net X-Mailer: Apple Mail (2.752.2) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-(708)546-9276 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Hi Brian, Thank you for your thoughts. I am Cc-ing on this response the Apache Software Foundation Public Relations Team. They may choose to chime in if they think this necessary. I cannot speak for the foundation, but as a contributor to the Apache HTTP Server project I am delighted to hear that the web server is so ubiquitous that it seems to be the default platform for startup companies. I hope that many of those present are subscribed to our aburgess@example.net and aburgess@example.net mailinglists. If they would like to participate in the development effort, anyone is welcome to join the aburgess@example.net mailinglist as well, but nobody is required to do so. The fact that no one in the room needed to change or patch the web server code could also be considered a measure of its success. If we are offered a speaking slot at a conference, and we have someone available that has the time and opportunity to speak, we are happy to participate. However, as an all-volunteer organization this doesn't always work out, and I don't think we actively try to find speaking opportunities. We also don't usually participate in trade shows and the like, but rely on word-of-mouth and press coverage to get the word out on our software. Also, many companies incorporate Apache software in their own products. I hope that this serves to address your concerns somewhat. Regards, Sander On Nov 6, 2006, at 9:25 AM, Brian McQueen wrote: > I was at a conference for startups last week, and it would have been > very useful to have someone there representing Apache. It is going to > drop from the minds of its target audience if its utility is not made > obvious again and again, obvious and up-to-date. There was a lot of > talk about open source projects and how to use open source code and > nobody but me mentioned Apache. It should be the textbook example of > how to run a successful open source project, and it should be an > example of great engineering and there should be cases made for how > and why to use it, and the startups should hear about it. It was a > missed opportunity. I raised the question about how many folks depend > on it, and the room was full of hands, but NONE of them are developing > within it, none are involved with it. Its just their web server. > > This awesome Apache thing you guys created is beginning to slide into > obscurity, when its actually better now than ever and should be moving > more steadily into the forefront. Its no mere web server! > > So who is responsible for this type of activity? > > Brian McQueen > > -- aburgess@example.net http://www.temme.net/sander/ PGP FP: 51B4 8727 466A 0BC3 69F4 B7B8 B2BE BC40 1529 24AF --Apple-Mail-(708)546-9276 Content-Transfer-Encoding: base64 Content-Type: application/pkcs7-signature; name=smime.p7s Content-Disposition: attachment; filename=smime.p7s MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGPDCCAvUw ggJeoAMCAQICEAIyF6zjtP6rQ//mXTcll14wDQYJKoZIhvcNAQEEBQAwYjELMAkGA1UEBhMCWkEx JTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQ ZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA2MDYxODE3MDYyMFoXDTA3MDYxODE3MDYy MFowWzEOMAwGA1UEBBMFVGVtbWUxDzANBgNVBCoTBlNhbmRlcjEVMBMGA1UEAxMMU2FuZGVyIFRl bW1lMSEwHwYJKoZIhvcNAQkBFhJzY3RlbW1lQGFwYWNoZS5vcmcwggEiMA0GCSqGSIb3DQEBAQUA A4IBDwAwggEKAoIBAQDJaqOD1gZ1Z4GW7jzLg192RRTnScJOrHlsHu0z4/BjTf+Zq4ziF8p0RZlJ vi8V8Dx4Xwl7osFrI081IuoZQnvbLZXIYsjPTFvg/yjEpp02QLTDpSAKxBniauQGIJPgEutDmb2u 7EAm9nHPKyeJ33PbmDYKQzjujnLW1Qx77GnyocKTqrZCcpaOCH08Vn7DZnYP8oAG9Zmgw8n4oLmw U0m5Sacj3EulCRTFS4acejaC7ZkNIXzS7CFrDukgxn6U99Xf2xoVrk9hXmCH62h1i4ItgWmFV1BS vsrgG/V1q+8SAjZrnMNXHsER4EEKp+hDBBFy2j6HABaGGUuS0gs4BqqrAgMBAAGjLzAtMB0GA1Ud EQQWMBSBEnNjdGVtbWVAYXBhY2hlLm9yZzAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3DQEBBAUAA4GB AE5+/Xn03o51+851PNo/ydkgPd1QHu3d5PHTWeRUpRNbfEJgAcLFzyTAa+keWtK+xv1xB4SCUHKT FZxaxoySE78f/ldmfUqdgJNZjDP076aEpUPsfNQ8iD/eao6pehlYw6RNeejt+XWfkQlhPdkIZwUH L1ozjjzTVzSsSEPzakOVMIIDPzCCAqigAwIBAgIBDTANBgkqhkiG9w0BAQUFADCB0TELMAkGA1UE BhMCWkExFTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMRowGAYDVQQK ExFUaGF3dGUgQ29uc3VsdGluZzEoMCYGA1UECxMfQ2VydGlmaWNhdGlvbiBTZXJ2aWNlcyBEaXZp c2lvbjEkMCIGA1UEAxMbVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIENBMSswKQYJKoZIhvcNAQkB FhxwZXJzb25hbC1mcmVlbWFpbEB0aGF3dGUuY29tMB4XDTAzMDcxNzAwMDAwMFoXDTEzMDcxNjIz NTk1OVowYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0 ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMIGfMA0GCSqG SIb3DQEBAQUAA4GNADCBiQKBgQDEpjxVc1X7TrnKmVoeaMB1BHCd3+n/ox7svc31W/Iadr1/DDph 8r9RzgHU5VAKMNcCY1osiRVwjt3J8CuFWqo/cVbLrzwLB+fxH5E2JCoTzyvV84J3PQO+K/67GD4H v0CAAmTXp6a7n2XRxSpUhQ9IBH+nttE8YQRAHmQZcmC3+wIDAQABo4GUMIGRMBIGA1UdEwEB/wQI MAYBAf8CAQAwQwYDVR0fBDwwOjA4oDagNIYyaHR0cDovL2NybC50aGF3dGUuY29tL1RoYXd0ZVBl cnNvbmFsRnJlZW1haWxDQS5jcmwwCwYDVR0PBAQDAgEGMCkGA1UdEQQiMCCkHjAcMRowGAYDVQQD ExFQcml2YXRlTGFiZWwyLTEzODANBgkqhkiG9w0BAQUFAAOBgQBIjNFQg+oLLswNo2asZw9/r6y+ whehQ5aUnX9MIbj4Nh+qLZ82L8D0HFAgk3A8/a3hYWLD2ToZfoSxmRsAxRoLgnSeJVCUYsfbJ3FX JY3dqZw5jowgT2Vfldr394fWxghOrvbqNOUQGls1TXfjViF4gtwhGTXeJLHTHUb/XV9lTzGCAxAw ggMMAgEBMHYwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkp IEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBAhACMhes 47T+q0P/5l03JZdeMAkGBSsOAwIaBQCgggFvMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJ KoZIhvcNAQkFMQ8XDTA2MTEwNjE5Mjc0NVowIwYJKoZIhvcNAQkEMRYEFG3SDl2TPUOpc3jdGu11 4zyzZrAiMIGFBgkrBgEEAYI3EAQxeDB2MGIxCzAJBgNVBAYTAlpBMSUwIwYDVQQKExxUaGF3dGUg Q29uc3VsdGluZyAoUHR5KSBMdGQuMSwwKgYDVQQDEyNUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwg SXNzdWluZyBDQQIQAjIXrOO0/qtD/+ZdNyWXXjCBhwYLKoZIhvcNAQkQAgsxeKB2MGIxCzAJBgNV BAYTAlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5KSBMdGQuMSwwKgYDVQQDEyNU aGF3dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBDQQIQAjIXrOO0/qtD/+ZdNyWXXjANBgkq hkiG9w0BAQEFAASCAQB+hoNYx6Hqxj9sogYnLW0jP6ZF5HWwW3STxeL05SytobRRFJ6L2/qdFBNM o1jh0zrHVdEJt614m1RJhs/YUqdamt2VUxutkQJVNwC6FugERLMQl/etjzHw7irmo/aTGZH0Lvmp 5LfFicmFBphGDf1Q5VJ5+xXtc636bkmLs/pdngDzwplMmPncvbenivMq/VdnI6Dd8rViiQLSodhG +PUjB7f3a2UU2c/cEKmi5hKQSrk2YAZSiJ9JKBgZhr3Luq2mO0ijtVDJ/8Yk6r5V0/Dv7JaBcMY3 4OqBbUjHBpZxMtOsNV68Gel0nHbjQlNGK4lM1ITR6PaGqZ5L8AZc1gw1AAAAAAAA --Apple-Mail-(708)546-9276-- From modules-aburgess@example.net Tue Nov 07 00:10:04 2006 Return-Path: <modules-aburgess@example.net> Delivered-To: aburgess@example.net Received: (qmail 24825 invoked from network); 7 Nov 2006 00:10:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 7 Nov 2006 00:10:03 -0000 Received: (qmail 63168 invoked by uid 500); 7 Nov 2006 00:10:14 -0000 Delivered-To: aburgess@example.net Received: (qmail 63144 invoked by uid 500); 7 Nov 2006 00:10:14 -0000 Mailing-List: contact aburgess@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aburgess@example.net> List-Unsubscribe: <mailto:aburgess@example.net> List-Post: <mailto:aburgess@example.net> List-Id: <modules-dev.httpd.apache.org> Reply-To: aburgess@example.net Delivered-To: mailing list aburgess@example.net Received: (qmail 63132 invoked by uid 99); 7 Nov 2006 00:10:14 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Nov 2006 16:10:13 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [83.161.120.155] (HELO warrior.cnchost.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Nov 2006 16:09:58 -0800 Received: from [83.161.120.155] (c-24-15-193-17.hsd1.il.comcast.net [83.161.120.155]) (as aburgess@example.net) by warrior.cnchost.com (ConcentricHost(2.54) Relay) with ESMTP id 974C32540 for <aburgess@example.net>; Mon, 6 Nov 2006 19:09:38 -0500 (EST) Message-ID: <aburgess@example.net> Date: Mon, 06 Nov 2006 18:09:45 -0600 From: "William A. Rowe, Jr." <aburgess@example.net> User-Agent: Thunderbird 83.161.120.155 (X11/20060913) MIME-Version: 1.0 To: aburgess@example.net Subject: Re: Who is Representing Apache? References: <aburgess@example.net> In-Reply-To: <aburgess@example.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Brian McQueen wrote: > I was at a conference for startups last week, and it would have been > very useful to have someone there representing Apache. It is going to > drop from the minds of its target audience if its utility is not made > obvious again and again, obvious and up-to-date. There was a lot of > talk about open source projects and how to use open source code and > nobody but me mentioned Apache. It should be the textbook example of > how to run a successful open source project, and it should be an > example of great engineering and there should be cases made for how > and why to use it, and the startups should hear about it. It was a > missed opportunity. I raised the question about how many folks depend > on it, and the room was full of hands, but NONE of them are developing > within it, none are involved with it. Its just their web server. I'm a bit confused because you are talking business cases around the open source model v.s. creating open source projects. Many of the industry leaders do these sorts of presentations regularly, two that come to mind offhand are Brian Behlendorf and my CEO, Mark Brewer, but I know that there are a ton of others who can and do speak on business models around open source. Sander pointed out, you need to inform the PRC early when you see a public relations opportunity that the Apache folks should avail themselves of. The volunteer nature of the group means that the more lead time, the more chance there's a speaker available. Bill From modules-aburgess@example.net Tue Nov 07 11:59:31 2006 Return-Path: <modules-aburgess@example.net> Delivered-To: aburgess@example.net Received: (qmail 39318 invoked from network); 7 Nov 2006 11:59:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 7 Nov 2006 11:59:31 -0000 Received: (qmail 2908 invoked by uid 500); 7 Nov 2006 11:59:42 -0000 Delivered-To: aburgess@example.net Received: (qmail 2781 invoked by uid 500); 7 Nov 2006 11:59:41 -0000 Mailing-List: contact aburgess@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aburgess@example.net> List-Unsubscribe: <mailto:aburgess@example.net> List-Post: <mailto:aburgess@example.net> List-Id: <modules-dev.httpd.apache.org> Reply-To: aburgess@example.net Delivered-To: mailing list aburgess@example.net Received: (qmail 2772 invoked by uid 99); 7 Nov 2006 11:59:41 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Nov 2006 03:59:41 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of aburgess@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ug-out-1314.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Nov 2006 03:59:28 -0800 Received: by ug-out-1314.google.com with SMTP id 75so1146048ugb for <aburgess@example.net>; Tue, 07 Nov 2006 03:59:07 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=QApZVEwoQC7pnApj3Z3KCo0xQSEamL7JI2MRwdZmbpBqQkJ/GgWvmZE8nJMorgetI7JKmOA3Pdzu8YhvGlkWXWWEbtbmQjbWGHqEpYIk1QpXbNRaB5AI5/J3uqADe0wvjNzxXgAzUpE9zly/ZrkOIbBVZuo4bgHgFO9VA5bDW7o= Received: by 83.161.120.155 with SMTP id y10mr8130583huf.1162900746821; Tue, 07 Nov 2006 03:59:06 -0800 (PST) Received: by 83.161.120.155 with HTTP; Tue, 7 Nov 2006 03:59:06 -0800 (PST) Message-ID: <aburgess@example.net> Date: Tue, 7 Nov 2006 17:29:06 +0530 From: "Manish Chakravarty" <aburgess@example.net> To: aburgess@example.net Subject: Error 126: Does it depend on the way you program the module? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Hi All, I am working on an apache module. Work was progressing fine and the module was working well. During my usual compile-test cycle, Apache suddenly came up with the error message: could not load the module XXXXXXX.dll into server the module could not be found :Error 126 Is there some size limit on DLL's that i have crossed. I read from the forums that it is some kind of a dependency problem, but my module does not have any dependencies! I am using Apache 1.3 Any help will be greatfull acknowleged. -- Warm Regards, Manish Chakravarty ---- Consultant Software Developer PH: (708)546-9276 http://manishchaks.net --- From modules-aburgess@example.net Tue Nov 07 16:41:44 2006 Return-Path: <modules-aburgess@example.net> Delivered-To: aburgess@example.net Received: (qmail 43577 invoked from network); 7 Nov 2006 16:41:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 7 Nov 2006 16:41:44 -0000 Received: (qmail 29002 invoked by uid 500); 7 Nov 2006 16:41:54 -0000 Delivered-To: aburgess@example.net Received: (qmail 28989 invoked by uid 500); 7 Nov 2006 16:41:54 -0000 Mailing-List: contact aburgess@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aburgess@example.net> List-Unsubscribe: <mailto:aburgess@example.net> List-Post: <mailto:aburgess@example.net> List-Id: <modules-dev.httpd.apache.org> Reply-To: aburgess@example.net Delivered-To: mailing list aburgess@example.net Received: (qmail 28980 invoked by uid 99); 7 Nov 2006 16:41:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Nov 2006 08:41:54 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [83.161.120.155] (HELO titan.sequoiagroup.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 07 Nov 2006 08:41:40 -0800 Received: (qmail 27949 invoked from network); 7 Nov 2006 16:41:19 -0000 Received: from unknown (HELO ?83.161.120.155?) (83.161.120.155) by 83.161.120.155 with SMTP; 7 Nov 2006 16:41:19 -0000 Message-ID: <aburgess@example.net> Date: Tue, 07 Nov 2006 09:39:15 -0700 From: Chris Kukuchka <aburgess@example.net> User-Agent: Thunderbird 83.161.120.155 (Windows/20060909) MIME-Version: 1.0 To: aburgess@example.net Subject: Re: Error 126: Does it depend on the way you program the module? References: <aburgess@example.net> In-Reply-To: <aburgess@example.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked:
{'source': 'Apache Software Foundation Public Mail Archives'}